1 | <?php |
||
14 | class RepositoryContainer implements RepositoryContainerInterface { |
||
15 | |||
16 | /** |
||
17 | * Holds the repositories. |
||
18 | * |
||
19 | * @var \TheSportsDb\Entity\Repository\RepositoryInterface[] |
||
20 | */ |
||
21 | protected $repositories = array(); |
||
22 | |||
23 | /** |
||
24 | * {@inheritdoc} |
||
25 | */ |
||
26 | 1 | public function addRepository(RepositoryInterface $repository) { |
|
29 | |||
30 | /** |
||
31 | * {@inheritdoc} |
||
32 | */ |
||
33 | 1 | public function getRepository($entityType) { |
|
39 | } |
||
40 |