| 1 | <?php |
||
| 10 | class EntityManagerFactory implements EntityManagerFactoryInterface |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var ContainerInterface |
||
| 14 | */ |
||
| 15 | private $container; |
||
| 16 | |||
| 17 | 3 | public function __construct(ContainerInterface $container) |
|
| 21 | |||
| 22 | /** |
||
| 23 | * @param string $entityManagerName service name for entityManager |
||
| 24 | * @return EntityManagerInterface |
||
| 25 | * @throws \Exception |
||
| 26 | */ |
||
| 27 | 3 | public function create(string $entityManagerName) : EntityManagerInterface |
|
| 33 | } |
||
| 34 |