Symfony\Bundle\AsseticBundle\Templating\AsseticHelper
The "assetic" templating helper.
- Author: Kris Wallsmith <kris@symfony.com>
Synopsis
class AsseticHelper
extends Helper
{
- // members
- protected $factory;
- // Inherited members from Helper
- protected string $charset;
- // methods
- public void __construct()
- public void javascripts()
- public void stylesheets()
- public void image()
- private array getAssetUrls()
- protected abstract string getAssetUrl()
- public void getName()
- // Inherited methods from Helper
- public void setCharset()
- public string getCharset()
Hierarchy
Extends
Extended by
Members
protected
- $charset
- $factory
Methods
private
- getAssetUrls() — Gets the URLs for the configured asset.
protected
- getAssetUrl() — Returns an URL for the supplied asset.
public
- __construct() — Constructor.
- getName()
- image() — Returns an array of one image url.
- javascripts() — Returns an array of javascript urls.
- stylesheets() — Returns an array of stylesheet urls.
Inherited from Symfony\Component\Templating\Helper\Helper
public
- getCharset() — Gets the default charset.
- setCharset() — Sets the default charset.