Zend Framework
3.0
|
Public Member Functions | |
addRoute ($name, $route, $priority=null) | |
Add a route to the stack. | |
addRoutes ($routes) | |
Add multiple routes to the stack. | |
removeRoute ($name) | |
Remove a route from the stack. | |
setRoutes ($routes) | |
Remove all routes from the stack and set new ones. | |
Public Member Functions inherited from RouteInterface | |
match (Request $request) | |
Match a given request. | |
assemble (array $params=[], array $options=[]) | |
Assemble the route. | |
Additional Inherited Members | |
Static Public Member Functions inherited from RouteInterface | |
static | factory ($options=[]) |
Create a new route with given options. | |
addRoute | ( | $name, | |
$route, | |||
$priority = null |
|||
) |
Add a route to the stack.
string | $name | |
mixed | $route | |
int | $priority |
Implemented in SimpleRouteStack, TreeRouteStack, and SimpleRouteStack.
addRoutes | ( | $routes | ) |
Add multiple routes to the stack.
array | \Traversable | $routes |
Implemented in SimpleRouteStack.
removeRoute | ( | $name | ) |
Remove a route from the stack.
string | $name |
Implemented in SimpleRouteStack.
setRoutes | ( | $routes | ) |
Remove all routes from the stack and set new ones.
array | \Traversable | $routes |
Implemented in SimpleRouteStack.