addRoute()
addRoute(string $route, mixed $controller) : \Pop\Router\Match\MatchInterface
Add a route
Parameters
| string | $route | |
| mixed | $controller | 
Pop router match interface
addRoute(string $route, mixed $controller) : \Pop\Router\Match\MatchInterface
Add a route
| string | $route | |
| mixed | $controller | 
addRoutes(array  $routes) : \Pop\Router\Match\MatchInterface
                Add multiple controller routes
| array | $routes | 
addControllerParams(string $controller, mixed $params) : \Pop\Router\Match\MatchInterface
Add controller params to be passed into a new controller instance
| string | $controller | |
| mixed | $params | 
appendControllerParams(string $controller, mixed $params) : \Pop\Router\Match\MatchInterface
Append controller params to be passed into a new controller instance
| string | $controller | |
| mixed | $params | 
removeControllerParams(string  $controller) : \Pop\Router\Match\MatchInterface
                Remove controller params
| string | $controller | 
prepare() : \Pop\Router\Match\MatchInterface
Match the route