Assetic\Extension\Twig\AsseticTokenParser::__construct
Constructor.
Attributes can be added to the tag by passing names as the options array. These values, if found, will be passed to the factory and node.
Signature
public function __construct(AssetFactory
$factory,
[string
$tag = false,
[string
$output = false,
[Boolean
$single = false,
array
$extensions]]] )
Parameters
$factory
— Assetic\Factory\AssetFactory- The asset factory
$tag
— string- The tag name
$output
— string- The default output string
$single
— object- Whether to force a single asset
$extensions
— array- Additional attribute names to look for