add()
add(\Phalcon\Mvc\RouterInterface $router, \Vegas\Mvc\Router\Route $route) : mixed
Methods adds new Route definition to indicated Router
Parameters
| \Phalcon\Mvc\RouterInterface | $router | |
| \Vegas\Mvc\Router\Route | $route | 
Class NotfoundRoute
When none of the routes specified in the router are matched, the following route will be use
add(\Phalcon\Mvc\RouterInterface $router, \Vegas\Mvc\Router\Route $route) : mixed
Methods adds new Route definition to indicated Router
| \Phalcon\Mvc\RouterInterface | $router | |
| \Vegas\Mvc\Router\Route | $route |