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