private function runRoutes()
    {
        if (class_exists($Router = 'Josantonius\Router\Router')) {
            if (isset($this->settings['routes'])) {
                $Router::add($this->settings['routes']);
                unset($this->settings['routes']);
            }
            $Router::dispatch();
        }
    }
private function runRoutes()
    {
        if (class_exists($Router = 'Josantonius\Router\Router')) {
            if (isset($this->settings['routes'])) {
                $Router::add($this->settings['routes']);
                unset($this->settings['routes']);
            }
            $Router::dispatch();
        }
    }
private function runRoutes ( ) { if ( class_exists ( $ Router = 'Josantonius\Router\Router' ) ) { if ( isset ( $ this -> settings [ 'routes' ] ) ) { $ Router :: add ( $ this -> settings [ 'routes' ] ) ; unset ( $ this -> settings [ 'routes' ] ) ; } $ Router :: dispatch ( ) ; } }
Load Routes.

@since 1.0.1

@uses \string Router::add()      → add routes
@uses \string Router::dispatch() → dispath routes

@link https://github.com/Josantonius/PHP-Router
Load Routes .