Interface RouteInterface

Summary

Fully Qualified Name: Zend\Router\Http\RouteInterface
Extends: RouteInterface

Description

Tree specific route interface.

Methods

Name Description Defined By
assemble() Assemble the route. RouteInterface
factory() Create a new route with given options. RouteInterface
getAssembledParams() Get a list of parameters used while assembling. RouteInterface
match() Match a given request. RouteInterface

Method Details

assemble()

Assemble the route.

Parameter Name Type Description
$params array
$options array

Returns: mixed

factory()

Create a new route with given options.

Parameter Name Type Description
$options array|\Traversable

Returns: \RouteInterface

getAssembledParams()

Get a list of parameters used while assembling.

Returns: array

match()

Match a given request.

Parameter Name Type Description
$request \Request

Returns: \RouteMatch|null

Top