AssetExtension
class AssetExtension extends AbstractExtension
Twig extension for the Symfony Asset component.
Methods
getFunctions()
{@inheritdoc}
string
getAssetUrl(string $path, string $packageName = null)
Returns the public url/path of an asset.
string
getAssetVersion(string $path, string $packageName = null)
Returns the version of an asset.
string
getName()
Returns the name of the extension.