/var/www/vhosts/ihelp.ro/httpdocs/vendor/cakephp/twig-view/src/Twig/Node
Edit: /var/www/vhosts/ihelp.ro/httpdocs/vendor/cakephp/twig-view/src/Twig/Node/Cell.php (3129B)
$name,
'data' => $data,
'options' => $options,
],
[
'variable' => $variable,
],
$lineno,
$tag
);
$this->assign = $assign;
}
/**
* Compile tag.
*
* @param \Twig\Compiler $compiler Compiler.
* @return void
*/
public function compile(Compiler $compiler)
{
$compiler->addDebugInfo($this);
if ($this->assign) {
$compiler->raw('$context[\'' . $this->getAttribute('variable') . '\'] = ');
} else {
$compiler->raw('echo ');
}
$compiler->raw('$context[\'_view\']->cell(');
$compiler->subcompile($this->getNode('name'));
$data = $this->getNode('data');
$compiler->raw(',');
$compiler->subcompile($data);
$options = $this->getNode('options');
$compiler->raw(',');
$compiler->subcompile($options);
$compiler->raw(");\n");
}
}