Fully Qualified Name: | Zend\Mvc\Console\Router\ConsoleRouterDelegatorFactory |
Implements: | DelegatorFactoryInterface |
Delegator factory for the Router service.
If a console environment is detected, returns the ConsoleRouter service instead of the default router.
Name | Description | Defined By |
---|---|---|
__invoke() | ConsoleRouterDelegatorFactory | |
createDelegatorWithName() | zend-servicemanager v2 compatibility. | ConsoleRouterDelegatorFactory |
Parameter Name | Type | Description |
---|---|---|
$container | \ContainerInterface | |
$name | string | |
$callback | callable | |
$options | null|array |
Returns: \Zend\Mvc\Router\RouteStackInterface
zend-servicemanager v2 compatibility.
Proxies to __invoke().
Parameter Name | Type | Description |
---|---|---|
$container | \ServiceLocatorInterface | |
$name | string | |
$requestedName | string | |
$callback | callable |
Returns: \Zend\Mvc\Router\RouteStackInterface