UrlRoutable::getRouteKey()

mixed getRouteKey() Get the value of the model's route key. Return Value mixed

UrlGenerator::__construct()

void __construct(RouteCollection $routes, Request $request) Create a new URL Generator instance. Parameters RouteCollection $routes Request $request Return Value void

UrlGenerator::setSessionResolver()

$this setSessionResolver(callable $sessionResolver) Set the session resolver for the generator. Parameters callable $sessionResolver Return Value $this

UrlGenerator::__callStatic()

static mixed __callStatic(string $method, array $parameters) Dynamically handle calls to the class. Parameters string $method array $parameters Return Value mixed Exceptions BadMethodCallException

UrlGenerator::to()

string to(string $path, mixed $extra = array(), bool $secure = null) Generate an absolute URL to the given path. Parameters string $path mixed $extra bool $secure Return Value string

UrlGenerator::__call()

mixed __call(string $method, array $parameters) Dynamically handle calls to the class. Parameters string $method array $parameters Return Value mixed Exceptions BadMethodCallException

UrlGenerator::to()

string to(string $path, mixed $extra = array(), bool $secure = null) Generate an absolute URL to the given path. Parameters string $path mixed $extra bool $secure Return Value string

UrlGenerator::setRootControllerNamespace()

$this setRootControllerNamespace(string $rootNamespace) Set the root controller namespace. Parameters string $rootNamespace Return Value $this

UrlGenerator::setRootControllerNamespace()

$this setRootControllerNamespace(string $rootNamespace) Set the root controller namespace. Parameters string $rootNamespace Return Value $this

UrlGenerator::setRequest()

void setRequest(Request $request) Set the current request instance. Parameters Request $request Return Value void