$entityName The name of the entity. * * @return EntityRepository * * @template T of object */ public function getRepository(EntityManagerInterface $entityManager, string $entityName): EntityRepository; }