Symfony\Component\Templating\Asset\PathPackage
The path packages adds a version and a base path to asset URLs.
- Author: Kris Wallsmith <kris@symfony.com>
Synopsis
class PathPackage
extends Package
{
- // members
- private $basePath;
- // methods
- public void __construct()
- public void getUrl()
- public string getBasePath()
- // Inherited methods from Package
- public void __construct()
- public void getVersion()
- public void getUrl()
- protected string applyVersion()
Hierarchy
Extends
Extended by
Members
private
- $basePath
Methods
public
- __construct() — Constructor.
- getBasePath() — Returns the base path.
- getUrl()
Inherited from Symfony\Component\Templating\Asset\Package
protected
- applyVersion() — Applies version to the supplied path.