Package deprecated
class Package implements PackageInterface
deprecated
The basic package will add a version to asset URLs.
Methods
__construct(string $version = null, string $format = '')
Constructor.
string
getVersion()
Returns the asset package version.
string
getUrl(string $path, string|bool|null $version = null)
Returns an absolute or root-relative public path.
Details
at line line 34
__construct(string $version = null, string $format = '')
Constructor.
at line line 43
string
getVersion()
Returns the asset package version.
at line line 51
string
getUrl(string $path, string|bool|null $version = null)
Returns an absolute or root-relative public path.