package Zend_Mvc_Router

 Methods

Add a route to the stack.

addRoute(string $name, mixed $route, integer $priority) : \Zend\Mvc\Router\RouteStackInterface

Parameters

$name

string

$route

mixed

$priority

integer

Returns

Add multiple routes to the stack.

addRoutes(array | \Traversable $routes) : \Zend\Mvc\Router\RouteStackInterface

Parameters

$routes

array\Traversable

Returns

Remove a route from the stack.

removeRoute(string $name) : \Zend\Mvc\Router\RouteStackInterface

Parameters

$name

string

Returns

Remove all routes from the stack and set new ones.

setRoutes(array | \Traversable $routes) : \Zend\Mvc\Router\RouteStackInterface

Parameters

$routes

array\Traversable

Returns