public function render(string $view, array $templateVars = []): string
    {
        return $this->renderer->render($view, $templateVars);
    }
public function render(string $view, array $templateVars = []): string
    {
        return $this->renderer->render($view, $templateVars);
    }
public function render ( string $ view , array $ templateVars = [ ] ) : string { return $ this -> renderer -> render ( $ view , $ templateVars ) ; }
Renders given view and returns HTML code.

@param string $view
@param array $templateVars
@return string
Renders given view and returns HTML code .