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

UrlGenerator::full()

string full() Get the full URL for the current request. Return Value string

UrlGenerator::assetFrom()

string assetFrom(string $root, string $path, bool|null $secure = null) Generate the URL to an asset from a custom root domain such as CDN, etc. Parameters string $root string $path bool|null $secure Return Value string

UrlGenerator::forceRootUrl()

void forceRootUrl(string $root) Set the forced root URL. Parameters string $root Return Value void

UrlGenerator::asset()

string asset(string $path, bool $secure = null) Generate the URL to an application asset. Parameters string $path bool $secure Return Value string

UrlGenerator::current()

string current() Get the current URL for the request. Return Value string

UrlGenerator::current()

string current() Get the current URL for the request. Return Value string

UrlGenerator::asset()

string asset(string $path, bool $secure = null) Generate the URL to an application asset. Parameters string $path bool $secure Return Value string

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