Class Method

Summary

Fully Qualified Name: Laminas\Router\Http\Method
Implements: RouteInterface

Description

Method route.

Methods

Name Description Defined By
__construct() Create a new method route. Method
assemble() assemble(): Defined by RouteInterface interface. Method
factory() factory(): defined by RouteInterface interface. Method
getAssembledParams() getAssembledParams(): defined by RouteInterface interface. Method
match() match(): defined by RouteInterface interface. Method

Method Details

__construct()

Create a new method route.

Parameter Name Type Description
$verb string
$defaults array

Returns:

assemble()

assemble(): Defined by RouteInterface interface.

Parameter Name Type Description
$params array
$options array

Returns: mixed

factory()

factory(): defined by RouteInterface interface.

Parameter Name Type Description
$options array|\Traversable

Returns: \Method

getAssembledParams()

getAssembledParams(): defined by RouteInterface interface.

Returns: array

match()

match(): defined by RouteInterface interface.

Parameter Name Type Description
$request \Request

Returns: \RouteMatch|null

Top