original_string: public static function singleReport($title, $reportHtml)
      {
          $view = new View('@CoreHome/_singleReport');
          $view->title = $title;
          $view->report = $reportHtml;
          return $view->render();
      }
code: public static function singleReport($title, $reportHtml)
      {
          $view = new View('@CoreHome/_singleReport');
          $view->title = $title;
          $view->report = $reportHtml;
          return $view->render();
      }
code_tokens: public static function singleReport ( $ title , $ reportHtml ) { $ view = new View ( '@CoreHome/_singleReport' ) ; $ view -> title = $ title ; $ view -> report = $ reportHtml ; return $ view -> render ( ) ; }
docstring: Creates a View for and then renders the single report template.
  
  Can be used for pages that display only one report to avoid having to create
  a new template.
  
  @param string $title The report title.
  @param string $reportHtml The report body HTML.
  @return string|void The report contents if `$fetch` is true.
docstring_tokens: Creates a View for and then renders the single report template .