Fixed: Doctrine service, getEntityManager() is deprecated.