public function compileFile($path)
    {
        $compiler = $this->getCompiler();

        $this->setDebugFile($path);
        $this->setDebugFormatter($compiler->getFormatter());

        return $compiler->compileFile($path);
    }
public function compileFile($path)
    {
        $compiler = $this->getCompiler();

        $this->setDebugFile($path);
        $this->setDebugFormatter($compiler->getFormatter());

        return $compiler->compileFile($path);
    }
public function compileFile ( $ path ) { $ compiler = $ this -> getCompiler ( ) ; $ this -> setDebugFile ( $ path ) ; $ this -> setDebugFormatter ( $ compiler -> getFormatter ( ) ) ; return $ compiler -> compileFile ( $ path ) ; }
Compile a pug template file into a PHP string.

@param string $path pug input file

@return string
Compile a pug template file into a PHP string .