Zend\Mvc\Router\Console\SimpleRouteStack
Tree search implementation.
Synopsis
class SimpleRouteStack
extends SimpleRouteStack
{
- // Inherited members from SimpleRouteStack
- protected PriorityList $routes;
- protected RoutePluginManager $routePluginManager;
- protected array $defaultParams;
- // methods
- protected void init()
- public SimpleRouteStack addRoute()
- protected RouteInterface routeFromArray()
- // Inherited methods from SimpleRouteStack
- public void __construct()
- public static SimpleRouteStack factory()
- protected void init()
- public SimpleRouteStack setRoutePluginManager()
- public RoutePluginManager getRoutePluginManager()
- public SimpleRouteStack addRoutes()
- public SimpleRouteStack addRoute()
- public SimpleRouteStack removeRoute()
- public SimpleRouteStack setRoutes()
- public Traversable getRoutes()
- public bool hasRoute()
- public RouteInterface getRoute()
- public SimpleRouteStack setDefaultParams()
- public SimpleRouteStack setDefaultParam()
- protected RouteInterface routeFromArray()
- public RouteMatch|null match()
- public mixed assemble()
Hierarchy
Extends
Members
protected
- $defaultParams
—
array
Default parameters. - $routePluginManager
—
Zend\Mvc\Router\RoutePluginManager
Route plugin manager - $routes
—
Zend\Mvc\Router\PriorityList
Stack containing all routes.
Methods
protected
- init() — init(): defined by SimpleRouteStack.
- routeFromArray() — routeFromArray(): defined by SimpleRouteStack.
public
- addRoute() — addRoute(): defined by RouteStackInterface interface.
Inherited from Zend\Mvc\Router\SimpleRouteStack
protected
- init() — Init method for extending classes.
- routeFromArray() — Create a route from array specifications.
public
- addRoute() — addRoute(): defined by RouteStackInterface interface.
- addRoutes() — addRoutes(): defined by RouteStackInterface interface.
- assemble() — assemble(): defined by RouteInterface interface.
- factory() — factory(): defined by RouteInterface interface.
- getRoute() — Get a route by name
- getRoutePluginManager() — Get the route plugin manager.
- getRoutes() — Get the added routes
- hasRoute() — Check if a route with a specific name exists
- match() — match(): defined by RouteInterface interface.
- removeRoute() — removeRoute(): defined by RouteStackInterface interface.
- setDefaultParam() — Set a default parameter.
- setDefaultParams() — Set a default parameters.
- setRoutePluginManager() — Set the route plugin manager.
- setRoutes() — setRoutes(): defined by RouteStackInterface interface.