The interface Laminas\ServiceManager\FactoryInterface has been deprecated with message: Use Laminas\ServiceManager\Factory\FactoryInterface instead.
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.
Loading history...
21
{
22
/**
23
* Create an object
24
*
25
* {@inheritDoc}
26
*
27
* @throws ServiceNotFoundException if unable to resolve the service.
28
* @throws ServiceNotCreatedException if an exception is raised when creating a service.
29
* @throws ContainerException if any other error occurs.
30
*/
31
public function __invoke(ContainerInterface $container, $requestedName, ?array $options = null) : object
32
{
33
$application = $container->get('doctrine.cli');
34
35
return new CliController($application);
36
}
37
38
/**
39
* {@inheritDoc}
40
*
41
* @return CliController
42
*/
43
public function createService(ServiceLocatorInterface $container)
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.