Clickalicious\PhpMemAdmin\App::renderTemplate PHP Method

renderTemplate() protected method

Renders a template.
Author: Benjamin Carl ([email protected])
protected renderTemplate ( string $html, array $variables = [] ) : string
$html string The html of the template
$variables array The template vars used for rendering (key => value)
return string Rendered HTML as string
    protected function renderTemplate($html, array $variables = array())
    {
        $variables = array_merge($variables, $this->getDefaultTemplateVariables());
        return $this->renderString($html, $variables);
    }