Метод |
Описание |
|
action ( string $action, mixed $parameters = [], boolean $absolute = true ) : string |
Get the URL to a controller action. |
|
asset ( string $path, boolean | null $secure = null ) : string |
Generate a URL to an application asset. |
|
assetFrom ( string $root, string $path, boolean | null $secure = null ) : string |
Generate a URL to an asset from a custom root domain such as CDN, etc. |
|
current ( ) : string |
Get the current URL for the request. |
|
forceRootUrl ( string $root ) : void |
Set the forced root URL. |
|
forceSchema ( string $schema ) : void |
Force the schema for URLs. |
|
full ( ) : string |
Get the full URL for the current request. |
|
getRequest ( ) : Illuminate\Http\Request |
Get the request instance. |
|
hasMacro ( string $name ) : boolean |
Checks if macro is registered. |
|
isValidUrl ( string $path ) : boolean |
Determine if the given path is a valid URL. |
|
macro ( string $name, callable $macro ) : void |
Register a custom macro. |
|
previous ( mixed $fallback = false ) : string |
Get the URL for the previous request. |
|
route ( string $name, mixed $parameters = [], boolean $absolute = true ) : string |
Get the URL to a named route. |
|
secure ( string $path, array $parameters = [] ) : string |
Generate a secure, absolute URL to the given path. |
|
secureAsset ( string $path ) : string |
Generate a URL to a secure asset. |
|
setRequest ( Illuminate\Http\Request $request ) : void |
Set the current request instance. |
|
setRootControllerNamespace ( string $rootNamespace ) |
Set the root controller namespace. |
|
setRoutes ( Illuminate\Routing\RouteCollection $routes ) |
Set the route collection. |
|
setSessionResolver ( callable $sessionResolver ) |
Set the session resolver for the generator. |
|
to ( string $path, mixed $extra = [], boolean | null $secure = null ) : string |
Generate an absolute URL to the given path. |
|