public function render($templateFile, array $vars = [])
    {
        $this->getService('retriever')->setLocalVars($vars);
        return $this->getService('template')->render($templateFile, $vars);
    }
public function render($templateFile, array $vars = [])
    {
        $this->getService('retriever')->setLocalVars($vars);
        return $this->getService('template')->render($templateFile, $vars);
    }
public function render ( $ templateFile , array $ vars = [ ] ) { $ this -> getService ( 'retriever' ) -> setLocalVars ( $ vars ) ; return $ this -> getService ( 'template' ) -> render ( $ templateFile , $ vars ) ; }
renders a template.
uses template service.

@param string $templateFile
@param array $vars
@return mixed
renders a template . uses template service .