phpbb\routing\router::get_routes PHP Method

get_routes() public method

Get the list of routes
public get_routes ( ) : RouteCollection
return Symfony\Component\Routing\RouteCollection Get the route collection
    public function get_routes()
    {
        if ($this->route_collection == null || empty($this->routing_files)) {
            $this->find_routing_files($this->extension_manager !== null ? $this->extension_manager->all_enabled(false) : array())->find($this->phpbb_root_path);
        }
        return $this->route_collection;
    }