protected function getUris()
    {
        $uris = $this->laravel['config']->get('criticalcss.routes');

        // If null, return all 'GET' routes.
        if (is_null($uris)) {
            $uris = [];
            $router = $this->laravel['router'];

            foreach ($router->getRoutes() as $route) {
                if ($route->getMethods()[0] === 'GET') {
                    $uris[] = $route->getUri();
                }
            }
        }

        return $uris;
    }
protected function getUris()
    {
        $uris = $this->laravel['config']->get('criticalcss.routes');

        // If null, return all 'GET' routes.
        if (is_null($uris)) {
            $uris = [];
            $router = $this->laravel['router'];

            foreach ($router->getRoutes() as $route) {
                if ($route->getMethods()[0] === 'GET') {
                    $uris[] = $route->getUri();
                }
            }
        }

        return $uris;
    }
protected function getUris ( ) { $ uris = $ this -> laravel [ 'config' ] -> get ( 'criticalcss.routes' ) ; // If null, return all 'GET' routes. if ( is_null ( $ uris ) ) { $ uris = [ ] ; $ router = $ this -> laravel [ 'router' ] ; foreach ( $ router -> getRoutes ( ) as $ route ) { if ( $ route -> getMethods ( ) [ 0 ] === 'GET' ) { $ uris [ ] = $ route -> getUri ( ) ; } } } return $ uris ; }
Returns a list of URIs to generate critical-path CSS for.

@return array
Returns a list of URIs to generate critical - path CSS for .