Zend Framework
3.0
|
Public Member Functions | |
__invoke (ContainerInterface $container, $name, array $options=null) | |
Create the controller manager service. | |
createService (ServiceLocatorInterface $container) | |
Create and return ControllerManager instance. | |
__invoke | ( | ContainerInterface | $container, |
$name, | |||
array | $options = null |
||
) |
Create the controller manager service.
Creates and returns an instance of ControllerManager. The only controllers this manager will allow are those defined in the application configuration's "controllers" array. If a controller is matched, the scoped manager will attempt to load the controller. Finally, it will attempt to inject the controller plugin manager if the controller implements a setPluginManager() method.
ContainerInterface | $container | |
string | $Name | |
null | array | $options |
Implements FactoryInterface.
createService | ( | ServiceLocatorInterface | $container | ) |
Create and return ControllerManager instance.
For use with zend-servicemanager v2; proxies to __invoke().
ServiceLocatorInterface | $container |
Implements FactoryInterface.