Bolt\Response\BoltResponse::compile PHP Метод

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

Compiles the template using the context.
public compile ( )
    public function compile()
    {
        if ($this->stopwatch) {
            $this->stopwatch->start('bolt.render', 'template');
        }
        $output = $this->template->render($this->context);
        $this->setContent($output);
        $this->compiled = true;
        if ($this->stopwatch) {
            $this->stopwatch->stop('bolt.render');
        }
    }