src/Panda/Routing/Router.php
protected function gatherRoutes()
    {
        // Get the base route path
        $basePath = $this->container->get('app.base_path');
        $routesPath = $this->container->get('app.routes_path');

        // Include the route file
        include $basePath . DIRECTORY_SEPARATOR . $routesPath;
    }
protected function gatherRoutes()
    {
        // Get the base route path
        $basePath = $this->container->get('app.base_path');
        $routesPath = $this->container->get('app.routes_path');

        // Include the route file
        include $basePath . DIRECTORY_SEPARATOR . $routesPath;
    }
protected function gatherRoutes ( ) { // Get the base route path $ basePath = $ this -> container -> get ( 'app.base_path' ) ; $ routesPath = $ this -> container -> get ( 'app.routes_path' ) ; // Include the route file include $ basePath . DIRECTORY_SEPARATOR . $ routesPath ; }
Get all the routes that match to the given request.

@throws \DI\DependencyException
@throws \DI\NotFoundException
@throws \InvalidArgumentException
Get all the routes that match to the given request .