code: public function render($template, array $data = array(), $extension = 'twig')
      {
          $file = $template . '.' . $extension;
  
          return $this->twig->render($file, $data);
      }
docs: Renders a template.
  
  @param  string $template
  @param  array  $data
  @param  string $extension
  @return string