Update AbstractEntityManager.php