public function all()
    {
        if (is_null($this->routes)) {
            $this->routes = Entities\RouteCollection::load(
                $this->router->getRoutes()->getRoutes(),
                $this->getExcludedUris(),
                $this->getExcludedMethods(),
                $this->getMethodColors()
            );
        }

        return $this->routes;
    }
public function all()
    {
        if (is_null($this->routes)) {
            $this->routes = Entities\RouteCollection::load(
                $this->router->getRoutes()->getRoutes(),
                $this->getExcludedUris(),
                $this->getExcludedMethods(),
                $this->getMethodColors()
            );
        }

        return $this->routes;
    }
public function all ( ) { if ( is_null ( $ this -> routes ) ) { $ this -> routes = Entities \ RouteCollection :: load ( $ this -> router -> getRoutes ( ) -> getRoutes ( ) , $ this -> getExcludedUris ( ) , $ this -> getExcludedMethods ( ) , $ this -> getMethodColors ( ) ) ; } return $ this -> routes ; }
Get all routes.

@return \Arcanedev\RouteViewer\Entities\RouteCollection
Get all routes .