symfony 4 getEntity getreal entity not cache 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);