Assetic\Extension\Twig\AsseticNode::__construct
Constructor.
Available attributes: * debug: The debug mode * combine: Whether to combine assets * var_name: The name of the variable to expose to the body node
Signature
public function __construct(AssetInterface
$asset,
[Twig_NodeInterface
$body = 0,
[array
$inputs = 0,
[array
$filters = 0,
[string
$name = 0,
[array
$attributes = 0,
[integer
$lineno = 0,
[string
$tag = null]]]]]]] )
Parameters
$asset
— Assetic\Asset\AssetInterface- The asset
$body
— \Twig_NodeInterface- The body node
$inputs
— array- An array of input strings
$filters
— array- An array of filter strings
$name
— string- The name of the asset
$attributes
— array- An array of attributes
$lineno
— integer- The line number
$tag
— string- The tag name