original_string: public static function getView($viewName, $data = null, $templateRootFolder = null)
      {
          $view = new \erdiko\core\View($viewName, $data);
  
          if ($templateRootFolder !== null) {
              $view->setTemplateRootFolder($templateRootFolder);
          }
          return  $view->toHtml();
      }
code: public static function getView($viewName, $data = null, $templateRootFolder = null)
      {
          $view = new \erdiko\core\View($viewName, $data);
  
          if ($templateRootFolder !== null) {
              $view->setTemplateRootFolder($templateRootFolder);
          }
          return  $view->toHtml();
      }
code_tokens: public static function getView ( $ viewName , $ data = null , $ templateRootFolder = null ) { $ view = new \ erdiko \ core \ View ( $ viewName , $ data ) ; if ( $ templateRootFolder !== null ) { $ view -> setTemplateRootFolder ( $ templateRootFolder ) ; } return $ view -> toHtml ( ) ; }
docstring: Load a view from the current theme with the given data
  
  @param string $viewName
  @param array $data
docstring_tokens: Load a view from the current theme with the given data