[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/vendor/symfony/twig-bridge/Extension/ -> AssetExtension.php (summary)

(no description)

File Size: 81 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

AssetExtension:: (5 methods):
  __construct()
  getFunctions()
  getAssetUrl()
  getAssetVersion()
  getName()


Class: AssetExtension  - X-Ref

Twig extension for the Symfony Asset component.

__construct(Packages $packages)   X-Ref
No description

getFunctions()   X-Ref
{@inheritdoc}


getAssetUrl($path, $packageName = null)   X-Ref
Returns the public url/path of an asset.

If the package used to generate the path is an instance of
UrlPackage, you will always get a URL and not a path.

param: string $path        A public path
param: string $packageName The name of the asset package to use
return: string The public path of the asset

getAssetVersion($path, $packageName = null)   X-Ref
Returns the version of an asset.

param: string $path        A public path
param: string $packageName The name of the asset package to use
return: string The asset version

getName()   X-Ref
Returns the name of the extension.

return: string The extension name



Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1