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