UrlGenerator

UrlGenerator

interface UrlGenerator (View source)

Methods

string current()

Get the current URL for the request.

string to(string $path, mixed $extra = array(), bool $secure = null)

Generate an absolute URL to the given path.

string secure(string $path, array $parameters = array())

Generate a secure, absolute URL to the given path.

string asset(string $path, bool $secure = null)

Generate the URL to an application asset.

string route(string $name, mixed $parameters = array(), bool $absolute = true)

Get the URL to a named route.

string action(string $action, mixed $parameters = array(), bool $absolute = true)

Get the URL to a controller action.

$this setRootControllerNamespace(string $rootNamespace)

Set the root controller namespace.

doc_Laravel
2016-11-02 16:43:07
Comments
Leave a Comment

Please login to continue.