original_string: public function renderPage()
      {
          $contents = $this->pageContents;
  
          /**
           * @event cms.page.render
           * Provides an oportunity to manipulate the page's rendered contents
           *
           * Example usage:
           *
           *     Event::listen('cms.page.render', function ((\Cms\Classes\Controller) $controller, (string) $pageContents) {
           *         return 'My custom contents';
           *     });
           *
           * Or
           *
           *     $CmsController->bindEvent('page.render', function ((string) $pageContents) {
           *         return 'My custom contents';
           *     });
           *
           */
          if ($event = $this->fireSystemEvent('cms.page.render', [$contents])) {
              return $event;
          }
  
          return $contents;
      }
code: public function renderPage()
      {
          $contents = $this->pageContents;
  
          /**
           * @event cms.page.render
           * Provides an oportunity to manipulate the page's rendered contents
           *
           * Example usage:
           *
           *     Event::listen('cms.page.render', function ((\Cms\Classes\Controller) $controller, (string) $pageContents) {
           *         return 'My custom contents';
           *     });
           *
           * Or
           *
           *     $CmsController->bindEvent('page.render', function ((string) $pageContents) {
           *         return 'My custom contents';
           *     });
           *
           */
          if ($event = $this->fireSystemEvent('cms.page.render', [$contents])) {
              return $event;
          }
  
          return $contents;
      }
code_tokens: public function renderPage ( ) { $ contents = $ this -> pageContents ; /**
           * @event cms.page.render
           * Provides an oportunity to manipulate the page's rendered contents
           *
           * Example usage:
           *
           *     Event::listen('cms.page.render', function ((\Cms\Classes\Controller) $controller, (string) $pageContents) {
           *         return 'My custom contents';
           *     });
           *
           * Or
           *
           *     $CmsController->bindEvent('page.render', function ((string) $pageContents) {
           *         return 'My custom contents';
           *     });
           *
           */ if ( $ event = $ this -> fireSystemEvent ( 'cms.page.render' , [ $ contents ] ) ) { return $ event ; } return $ contents ; }
docstring: Renders a requested page.
  The framework uses this method internally.
docstring_tokens: Renders a requested page . The framework uses this method internally .