src/Http/RouteResolver.php
protected function generateRouteByName(string $name, string $default)
    {
        if (is_null($this->extension)) {
            return $default;
        }

        return $this->extension->route($name, $default);
    }
protected function generateRouteByName(string $name, string $default)
    {
        if (is_null($this->extension)) {
            return $default;
        }

        return $this->extension->route($name, $default);
    }
protected function generateRouteByName ( string $ name , string $ default ) { if ( is_null ( $ this -> extension ) ) { return $ default ; } return $ this -> extension -> route ( $ name , $ default ) ; }
Generate route by name.

@param  string  $name
@param  string  $default

@return \Orchestra\Contracts\Extension\UrlGenerator
Generate route by name .