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');
        }
    }
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');
        }
    }
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' ) ; } }
Compiles the template using the context.
Compiles the template using the context .