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 StaticRoute Static route type, useful for rules which should not be overwritten by another route.
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 |