original_string: public function fireViewEvent($event, $params = [])
      {
          // Add the local object to the first parameter always
          array_unshift($params, $this);
  
          if ($result = Event::fire($event, $params)) {
              return implode(PHP_EOL.PHP_EOL, (array) $result);
          }
  
          return '';
      }
code: public function fireViewEvent($event, $params = [])
      {
          // Add the local object to the first parameter always
          array_unshift($params, $this);
  
          if ($result = Event::fire($event, $params)) {
              return implode(PHP_EOL.PHP_EOL, (array) $result);
          }
  
          return '';
      }
code_tokens: public function fireViewEvent ( $ event , $ params = [ ] ) { // Add the local object to the first parameter always array_unshift ( $ params , $ this ) ; if ( $ result = Event :: fire ( $ event , $ params ) ) { return implode ( PHP_EOL . PHP_EOL , ( array ) $ result ) ; } return '' ; }
docstring: Special event function used for extending within view files,
  allowing HTML to be injected multiple times.
  
  For example:
  
  <?= $this->fireViewEvent('backend.auth.extendSigninView') ?>
  
  @param string $event Event name
  @param array $params Event parameters
  @return string
docstring_tokens: Special event function used for extending within view files allowing HTML to be injected multiple times .