addRoute()
addRoute(string $route, mixed $controller) : \Pop\Router\RouterInterface
Add a route
Parameters
| string | $route | |
| mixed | $controller | 
Pop router interface
addRoute(string $route, mixed $controller) : \Pop\Router\RouterInterface
Add a route
| string | $route | |
| mixed | $controller | 
addRoutes(array  $routes) : \Pop\Router\RouterInterface
                Add multiple routes
| array | $routes | 
addControllerParams(string $controller, mixed $params) : \Pop\Router\RouterInterface
Add controller params
| string | $controller | |
| mixed | $params | 
addDispatchParams(string $action, mixed $params) : \Pop\Router\RouterInterface
Add route params
| string | $action | |
| mixed | $params | 
getController() : \Pop\Controller\ControllerInterface
Get the current controller object
match() : \Pop\Router\RouterInterface
Execute the route match