1 | <?php |
||
23 | class AuthorizationRepositoryFactory |
||
24 | { |
||
25 | /** |
||
26 | * @var InstitutionAuthorizationRepositoryFilter |
||
27 | */ |
||
28 | private $filter; |
||
29 | /** |
||
30 | * @var EntityManagerInterface |
||
31 | */ |
||
32 | private $entityManager; |
||
33 | |||
34 | /** |
||
35 | * AuthorizationRepositoryFactory constructor. |
||
36 | * @param EntityManagerInterface $entityManager |
||
37 | * @param InstitutionAuthorizationRepositoryFilter $filter |
||
38 | */ |
||
39 | public function __construct(EntityManagerInterface $entityManager, InstitutionAuthorizationRepositoryFilter $filter) |
||
44 | |||
45 | /** |
||
46 | * @param string $entityName |
||
47 | * @return \Doctrine\Common\Persistence\ObjectRepository |
||
48 | */ |
||
49 | public function getRepository($entityName) |
||
58 | } |
||
59 |