RouteInterface interface.
More...
|
| match (Request $request) |
| Match a given request.
|
|
| assemble (array $params=[], array $options=[]) |
| Assemble the route.
|
|
|
static | factory ($options=[]) |
| Create a new route with given options.
|
|
assemble |
( |
array |
$params = [] , |
|
|
array |
$options = [] |
|
) |
| |
Assemble the route.
- Parameters
-
array | $params | |
array | $options | |
- Returns
- mixed
Implemented in Segment, TreeRouteStack, SimpleRouteStack, Hostname, Part, Wildcard, Chain, Regex, Simple, Literal, Method, Scheme, TranslatorAwareTreeRouteStack, Catchall, and TranslatorAwareTreeRouteStack.
static factory |
( |
|
$options = [] | ) |
|
|
static |
Create a new route with given options.
- Parameters
-
array | \Traversable | $options | |
- Returns
- void
Implemented in Segment, Part, Hostname, Regex, Wildcard, Simple, SimpleRouteStack, Catchall, Chain, TreeRouteStack, Literal, Method, Scheme, and TranslatorAwareTreeRouteStack.
match |
( |
Request |
$request | ) |
|