public function registerRoutes()
    {
        $this->_route = new Route();
        $this->_config = Config::from('app');

        $router = $this; // MUST KEEP!!!!!!!!!

        require_once $this->_config->from('app')->get('routes');
    }
public function registerRoutes()
    {
        $this->_route = new Route();
        $this->_config = Config::from('app');

        $router = $this; // MUST KEEP!!!!!!!!!

        require_once $this->_config->from('app')->get('routes');
    }
public function registerRoutes ( ) { $ this -> _route = new Route ( ) ; $ this -> _config = Config :: from ( 'app' ) ; $ router = $ this ; // MUST KEEP!!!!!!!!! require_once $ this -> _config -> from ( 'app' ) -> get ( 'routes' ) ; }
Handles registering defined routes.

@return void
Handles registering defined routes .