interface PackageInterface
deprecated
Asset package interface.
string | getVersion() Returns the asset package version. | |
string | getUrl(string $path, string|bool|null $version = null) Returns an absolute or root-relative public path. |
Returns the asset package version.
string | The version string |
Returns an absolute or root-relative public path.
string | $path | A path |
string|bool|null | $version | A specific version for the path |
string | The public path |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/Templating/Asset/PackageInterface.html