| Total Complexity | 3 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | class TestAddressChangeContextFactory { |
||
| 15 | |||
| 16 | private Configuration $doctrineConfig; |
||
| 17 | private AddressChangeContextFactory $factory; |
||
| 18 | private Connection $connection; |
||
| 19 | private ?EntityManager $entityManager; |
||
| 20 | |||
| 21 | public function __construct( array $config, Configuration $doctrineConfig ) { |
||
| 22 | $this->doctrineConfig = $doctrineConfig; |
||
| 23 | |||
| 24 | $this->connection = DriverManager::getConnection( $config['db'] ); |
||
| 25 | $this->factory = new AddressChangeContextFactory(); |
||
| 26 | $this->entityManager = null; |
||
| 27 | } |
||
| 28 | |||
| 29 | public function getEntityManager(): EntityManager { |
||
| 42 | } |
||
| 43 | } |
This function has been deprecated. The supplier of the function has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the function will be removed and what other function to use instead.