original_string: protected function fireCustomModelEvent($event, $method)
      {
          if (! isset($this->dispatchesEvents[$event])) {
              return;
          }
  
          $result = static::$dispatcher->$method(new $this->dispatchesEvents[$event]($this));
  
          if (! is_null($result)) {
              return $result;
          }
      }
code: protected function fireCustomModelEvent($event, $method)
      {
          if (! isset($this->dispatchesEvents[$event])) {
              return;
          }
  
          $result = static::$dispatcher->$method(new $this->dispatchesEvents[$event]($this));
  
          if (! is_null($result)) {
              return $result;
          }
      }
code_tokens: protected function fireCustomModelEvent ( $ event , $ method ) { if ( ! isset ( $ this -> dispatchesEvents [ $ event ] ) ) { return ; } $ result = static :: $ dispatcher -> $ method ( new $ this -> dispatchesEvents [ $ event ] ( $ this ) ) ; if ( ! is_null ( $ result ) ) { return $ result ; } }
docstring: Fire a custom model event for the given event.
  
  @param  string  $event
  @param  string  $method
  @return mixed|null
docstring_tokens: Fire a custom model event for the given event .