class UrlPackage extends Package
deprecated
since 2.7, will be removed in 3.0. Use the Asset component instead.
The URL packages adds a version and a base URL to asset URLs.
Methods
__construct(string|array $baseUrls = array(), string $version = null, string $format = null) Constructor.
string getVersion() Returns the asset package version. from Package string getUrl(string $path, string|bool|null $version = null) Returns an absolute or root-relative public path.
string