Class ConsoleRouterFactory

Summary

Fully Qualified Name: Laminas\Mvc\Console\Router\ConsoleRouterFactory
Implements: FactoryInterface

Description

Methods

Name Description Defined By
__invoke() Create and return the console SimpleRouteStack. ConsoleRouterFactory
createService() Create and return SimpleRouteStack instance ConsoleRouterFactory

Method Details

__invoke()

Create and return the console SimpleRouteStack.

Parameter Name Type Description
$container \ContainerInterface
$name string
$options null|array

Returns: \SimpleRouteStack

createService()

Create and return SimpleRouteStack instance

For use with laminas-servicemanager v2; proxies to __invoke().

Parameter Name Type Description
$container \ServiceLocatorInterface

Returns: \SimpleRouteStack

Top