UrlGenerator::setRequest()

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

UrlGenerator::secureAsset()

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

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

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

UrlGenerator::macro()

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

UrlGenerator::isValidUrl()

bool isValidUrl(string $path) Determine if the given path is a valid URL. Parameters string $path Return Value bool

UrlGenerator::hasMacro()

static bool hasMacro(string $name) Checks if macro is registered. Parameters string $name Return Value bool