src/Shell/CompileShell.php
protected function compileTemplate($fileName)
    {
        try {
            $this->
                twigView->
                getTwig()->
                loadTemplate($fileName);
            $this->out('<success>' . $fileName . '</success>');
        } catch (\Exception $exception) {
            $this->out('<error>' . $fileName . '</error>');
            $this->out('<error>' . $exception->getMessage() . '</error>');
        }
    }
protected function compileTemplate($fileName)
    {
        try {
            $this->
                twigView->
                getTwig()->
                loadTemplate($fileName);
            $this->out('<success>' . $fileName . '</success>');
        } catch (\Exception $exception) {
            $this->out('<error>' . $fileName . '</error>');
            $this->out('<error>' . $exception->getMessage() . '</error>');
        }
    }
protected function compileTemplate ( $ fileName ) { try { $ this -> twigView -> getTwig ( ) -> loadTemplate ( $ fileName ) ; $ this -> out ( '<success>' . $ fileName . '</success>' ) ; } catch ( \ Exception $ exception ) { $ this -> out ( '<error>' . $ fileName . '</error>' ) ; $ this -> out ( '<error>' . $ exception -> getMessage ( ) . '</error>' ) ; } }
Compile a template.

@param string $fileName Template to compile.
Compile a template .