UrlGenerator::action()

string action(string $action, mixed $parameters = array(), bool $absolute = true) Get the URL to a controller action. Parameters string $action mixed $parameters bool $absolute Return Value string

UrlGenerator

UrlGenerator class UrlGenerator implements UrlGenerator (View source) Traits Macroable

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 = arr

UrlGenerationException::forMissingParameters()

static UrlGenerationException forMissingParameters(Route $route) Create a new exception for missing route parameters. Parameters Route $route Return Value UrlGenerationException

UrlGenerationException

UrlGenerationException class UrlGenerationException extends Exception (View source) Methods static UrlGenerationException forMissingParameters(Route $route) Create a new exception for missing route parameters.

URL::__callStatic()

static mixed __callStatic(string $method, array $args) Handle dynamic, static calls to the object. Parameters string $method array $args Return Value mixed

URL::swap()

static void swap(mixed $instance) Hotswap the underlying instance behind the facade. Parameters mixed $instance Return Value void

URL::shouldReceive()

static Expectation shouldReceive() Initiate a mock expectation on the facade. Return Value Expectation

URL::setFacadeApplication()

static void setFacadeApplication(Application $app) Set the application instance. Parameters Application $app Return Value void

URL::getFacadeRoot()

static mixed getFacadeRoot() Get the root object behind the facade. Return Value mixed