public function compile($path)
    {
        $this->parseContent($path, $this->_data);

        return $this->_factory->render();
    }
public function compile($path)
    {
        $this->parseContent($path, $this->_data);

        return $this->_factory->render();
    }
public function compile ( $ path ) { $ this -> parseContent ( $ path , $ this -> _data ) ; return $ this -> _factory -> render ( ) ; }
Compiles the view.

@param string $path - The path of the view

@return string
Compiles the view .