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::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 Exceptions InvalidArgumentException

URL::shouldReceive()

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

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

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::clearResolvedInstance()

static void clearResolvedInstance(string $name) Clear a resolved facade instance. Parameters string $name Return Value void

URL::clearResolvedInstances()

static void clearResolvedInstances() Clear all of the resolved instances. Return Value void