Clickalicious\PhpMemAdmin\App::renderTemplate PHP Метод

renderTemplate() защищенный Метод

Renders a template.
Автор: 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)
Результат string Rendered HTML as string
    protected function renderTemplate($html, array $variables = array())
    {
        $variables = array_merge($variables, $this->getDefaultTemplateVariables());
        return $this->renderString($html, $variables);
    }