doctrine force to refresh collection code example
Example: doctrine orm refresh
// PHP - Call it directly from your entity manager.
$this->em->refresh($entity);
// or
$em->refresh($entity);
// PHP - Call it directly from your entity manager.
$this->em->refresh($entity);
// or
$em->refresh($entity);