doctrine entity manager refresh entity that is not in the database 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);