Class Simple

Summary

Fully Qualified Name: Laminas\Mvc\Console\Router\Simple
Implements: RouteInterface

Description

Methods

Name Description Defined By
__construct() Create a new simple console route. Simple
assemble() assemble(): Defined by Route interface. Simple
factory() factory(): defined by Route interface. Simple
getAssembledParams() getAssembledParams(): defined by Route interface. Simple
match() match(): defined by Route interface. Simple

Method Details

__construct()

Create a new simple console route.

Parameter Name Type Description
$routeOrRouteMatcher string|\RouteMatcherInterface
$constraints array
$defaults array
$aliases array

Returns:

assemble()

assemble(): Defined by Route interface.

Parameter Name Type Description
$params array
$options array

Returns: mixed

factory()

factory(): defined by Route interface.

Parameter Name Type Description
$options array|\Traversable

Returns: self

getAssembledParams()

getAssembledParams(): defined by Route interface.

Returns: array

match()

match(): defined by Route interface.

Parameter Name Type Description
$request \Request
$pathOffset null|int

Returns: \RouteMatch

Top