string
getAssetUrl(string $path, string $packageName = null, bool $absolute = false, string|bool|null $version = null)
Returns the public path of an asset. Absolute paths (i.e. http://...) are returned unmodified.
Parameters string $path A public path string $packageName The name of the asset package to use bool $absolute Whether to return an absolute URL or a relative one string|bool|null $version A specific version Return Value string A public path which takes into account th