protected function addAppRoutes()
    {
        $routes = $this->getConfig('routes');
        if (is_array($routes)) {
            $this->getRouter()->addRoutes($routes);
        }
    }
protected function addAppRoutes()
    {
        $routes = $this->getConfig('routes');
        if (is_array($routes)) {
            $this->getRouter()->addRoutes($routes);
        }
    }
protected function addAppRoutes ( ) { $ routes = $ this -> getConfig ( 'routes' ) ; if ( is_array ( $ routes ) ) { $ this -> getRouter ( ) -> addRoutes ( $ routes ) ; } }
Adds the pre-configured routes to the global
router.
Adds the pre - configured routes to the global router .