Bolt\Twig\SetcontentNode::compile PHP Метод

compile() публичный Метод

public compile ( Twig_Compiler $compiler )
$compiler Twig_Compiler
    public function compile(\Twig_Compiler $compiler)
    {
        $arguments = $this->getAttribute('arguments');
        $compiler->addDebugInfo($this)->write('$template_storage = $context[\'app\'][\'storage\'];' . "\n")->write('$context[\'' . $this->getAttribute('name') . '\'] = ')->write('$template_storage->getContent(')->subcompile($this->getAttribute('contenttype'))->raw(', ')->subcompile($arguments);
        if ($this->hasNode('wherearguments')) {
            $compiler->raw(', $pager, ')->subcompile($this->getNode('wherearguments'));
        }
        $compiler->raw(" );\n");
    }