Habari\RawPHPEngine::fetch PHP Method

fetch() public method

A function which returns the content of the transposed template as a string
public fetch ( string $template )
$template string Name of template to fetch
    public function fetch($template)
    {
        ob_start();
        $this->display($template);
        $contents = ob_get_clean();
        return $contents;
    }