interface PackageInterface
deprecated
since 2.7, will be removed in 3.0. Use the Asset component instead.
Asset package interface.
Methods
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
string getVersion()
Returns the asset package version.
string getUrl(string $path, string|bool|null $version = null)
Returns an absolute or root-relative public path.
Please login to continue.