![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/mautic.corals.io/vendor/doctrine/orm/src/Repository/ |
<?php declare(strict_types=1); namespace Doctrine\ORM\Repository; use Doctrine\ORM\EntityManagerInterface; use Doctrine\Persistence\ObjectRepository; /** * Interface for entity repository factory. */ interface RepositoryFactory { /** * Gets the repository for an entity class. * * @param EntityManagerInterface $entityManager The EntityManager instance. * @param class-string<T> $entityName The name of the entity. * * @return ObjectRepository<T> This type will change to {@see EntityRepository} in 3.0. * * @template T of object */ public function getRepository(EntityManagerInterface $entityManager, $entityName); }