setDI() setDI(\Phalcon\DiInterface $dependencyInjector) : $this Sets the dependency injector Parameters \Phalcon\DiInterface $dependencyInjector Returns $this
getDI() getDI() : \Phalcon\DiInterface Returns the internal dependency injector Returns \Phalcon\DiInterface
__construct() __construct(\Phalcon\DiInterface $di, \Phalcon\Mvc\RouterInterface $routerAdapter) Constructor Sets router adapter Parameters \Phalcon\DiInterface $di \Phalcon\Mvc\RouterInterface $routerAdapter
addRoutes() addRoutes(array $routesArray) : $this Adds multiple routes definition Parameters array $routesArray Returns $this
addRoute() addRoute(array $routeArray) : $this Adds single route definition Parameters array $routeArray Returns $this
addModuleRoutes() addModuleRoutes(array $module) : $this Adds module routes from specified path Parameters array $module Returns $this
getRouter() getRouter() : \Phalcon\Mvc\RouterInterface Returns router adapter Returns \Phalcon\Mvc\RouterInterface