string
getUrl(string $path, string $packageName = null, string|bool|null $version = null)
Returns the public path. Absolute paths (i.e. http://...) are returned unmodified.
Parameters string $path A path string $packageName The name of the asset package to use string|bool|null $version A specific version for the path Return Value string The public path