/** * Initialize tag node. * * @param string $name tag name * @param integer $line source line */ public function __construct($name, $line) { parent::__construct($line); $this->name = $name; }
/** * Creates a new with block helper * * @param string[] $options * @param com.github.mustache.NodeList $fn * @param com.github.mustache.NodeList $inverse * @param string $start * @param string $end */ public function __construct($options = [], NodeList $fn = null, NodeList $inverse = null, $start = '{{', $end = '}}') { parent::__construct('with', $options, $fn, $inverse, $start, $end); }