Methods
Remove all routes.
clear() : void
count(): defined by Countable interface.
count() : int
Insert a new route.
insert(string $name, \Zend\Mvc\Router\RouteInterface $route, int $priority) : void
Parameters
$name
string
$priority
int
key(): defined by Iterator interface.
key() : string
Remove a route.
remove(string $name) : void
rewind(): defined by Iterator interface.
rewind() : void
valid(): defined by Iterator interface.
valid() : bool
Compare the priority of two routes.
compare(array $route1, array $route2) : int
Parameters
$route1
$route2
array
Returns
int
Sort all routes.
sort() : void
Properties
Internal counter to avoid usage of count().
$count : int
Internal list of all routes.
$routes : array
Serial assigned to routes to preserve LIFO.
$serial : int
Whether the list was already sorted.
$sorted : bool