UrlGenerator::setRoutes()

$this setRoutes(RouteCollection $routes) Set the route collection. Parameters RouteCollection $routes Return Value $this

UrlGenerator::secure()

string secure(string $path, array $parameters = array()) Generate a secure, absolute URL to the given path. Parameters string $path array $parameters Return Value string

UrlGenerator::secureAsset()

string secureAsset(string $path) Generate the URL to a secure asset. Parameters string $path Return Value string

UrlGenerator::previous()

string previous(mixed $fallback = false) Get the URL for the previous request. Parameters mixed $fallback Return Value string

UrlGenerator::route()

string route(string $name, mixed $parameters = array(), bool $absolute = true) Get the URL to a named route. Parameters string $name mixed $parameters bool $absolute Return Value string Exceptions InvalidArgumentException

UrlGenerator::route()

string route(string $name, mixed $parameters = array(), bool $absolute = true) Get the URL to a named route. Parameters string $name mixed $parameters bool $absolute Return Value string Exceptions InvalidArgumentException

UrlGenerator::secure()

string secure(string $path, array $parameters = array()) Generate a secure, absolute URL to the given path. Parameters string $path array $parameters Return Value string

UrlGenerator::forceSchema()

void forceSchema(string $schema) Force the schema for URLs. Parameters string $schema Return Value void

UrlGenerator::getRequest()

Request getRequest() Get the request instance. Return Value Request

UrlGenerator::macro()

static void macro(string $name, callable $macro) Register a custom macro. Parameters string $name callable $macro Return Value void