Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
23 | public function __invoke(ContainerInterface $container, $requestedName, ?array $options = null) |
||
24 | { |
||
25 | $entityManager = $container->get(EntityManager::class); |
||
26 | $element = new ObjectSelect(); |
||
27 | |||
28 | $element->getProxy()->setObjectManager($entityManager); |
||
29 | |||
30 | return $element; |
||
31 | } |
||
32 | |||
41 |
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.