These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | |||
3 | namespace DoctrineORMModule\Service; |
||
4 | |||
5 | use DoctrineORMModule\CliConfigurator; |
||
6 | use Interop\Container\ContainerInterface; |
||
7 | use Zend\ServiceManager\FactoryInterface; |
||
8 | use Zend\ServiceManager\ServiceLocatorInterface; |
||
9 | |||
10 | class CliConfiguratorFactory implements FactoryInterface |
||
0 ignored issues
–
show
|
|||
11 | { |
||
12 | /** |
||
13 | * {@inheritDoc} |
||
14 | */ |
||
15 | public function __invoke(ContainerInterface $container, $requestedName, array $options = null) |
||
16 | { |
||
17 | return new CliConfigurator($container); |
||
18 | } |
||
19 | |||
20 | /** |
||
21 | * {@inheritDoc} |
||
22 | */ |
||
23 | public function createService(ServiceLocatorInterface $container) |
||
24 | { |
||
25 | return $this($container, CliConfigurator::class); |
||
26 | } |
||
27 | } |
||
28 |
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.