Ejemplo n.º 1
0
 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);
 }
Ejemplo n.º 2
0
 public function __construct($name, Twig_Node $arguments, $lineno)
 {
     parent::__construct(array('arguments' => $arguments), array('name' => $name), $lineno);
 }
Ejemplo n.º 3
0
 public function getArguments($callable, $arguments)
 {
     return parent::getArguments($callable, $arguments);
 }
Ejemplo n.º 4
0
 public function __construct(Twig_NodeInterface $node, $name, Twig_NodeInterface $arguments = null, $lineno)
 {
     parent::__construct(array('node' => $node, 'arguments' => $arguments), array('name' => $name), $lineno);
 }
Ejemplo n.º 5
0
 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);
 }
Ejemplo n.º 6
0
 public function __construct($name, Twig_NodeInterface $arguments, $lineno)
 {
     parent::__construct(['arguments' => $arguments], ['name' => $name], $lineno);
 }
Ejemplo n.º 7
0
 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);
 }