Beispiel #1
0
 /**
  * Renders a template
  *
  * @param string $template The template to render
  * @param array  $data     The template variables
  *
  * @return string The rendered template
  */
 public function render(string $template, array $data = []) : string
 {
     return parent::render($this->theme->load($template), $data);
 }