public function __construct(Twig_NodeInterface $node, $name, Twig_NodeInterface $arguments = null, $lineno) { $nodes = array('node' => $node); if (null !== $arguments) { $nodes['arguments'] = $arguments; } parent::__construct($nodes, array('name' => $name), $lineno); }
public function __construct($name, Twig_Node $arguments, $lineno) { parent::__construct(array('arguments' => $arguments), array('name' => $name), $lineno); }
public function __construct(Twig_NodeInterface $node, $name, Twig_NodeInterface $arguments = null, $lineno) { parent::__construct(array('node' => $node, 'arguments' => $arguments), array('name' => $name), $lineno); }
public function __construct(Twig_NodeInterface $node, Twig_Node_Expression_Constant $filterName, Twig_NodeInterface $arguments, $lineno, $tag = null) { parent::__construct(array('node' => $node, 'filter' => $filterName, 'arguments' => $arguments), array(), $lineno, $tag); }
public function __construct($name, Twig_NodeInterface $arguments, $lineno) { parent::__construct(['arguments' => $arguments], ['name' => $name], $lineno); }
public function __construct($name, Twig_NodeInterface $arguments, $lineno) { parent::__construct(array('arguments' => $arguments), array('name' => $name, 'is_defined_test' => false), $lineno); }
/** * Constructor. * * @param string $name The name of the node. * @param \Twig_NodeInterface $body The body content. * @param \Twig_NodeInterface $arguments Arguments to pass to the node * expression. * @param int $lineno Line number. * @param string $tag The name of the tag. */ public function __construct($name, \Twig_NodeInterface $body, \Twig_NodeInterface $arguments, $lineno, $tag = null) { parent::__construct(['node' => $body, 'arguments' => $arguments], ['name' => $name], $lineno, $tag); }