original_string: protected function dispatch(DelayedEvent $event)
      {
          if ($this->current instanceof Transaction) {
              // Already in transaction, reserve it
              $this->current->attach($event);
          } else {
              // There are no transactions, just dispatch it
              $event->fire();
          }
      }
code: protected function dispatch(DelayedEvent $event)
      {
          if ($this->current instanceof Transaction) {
              // Already in transaction, reserve it
              $this->current->attach($event);
          } else {
              // There are no transactions, just dispatch it
              $event->fire();
          }
      }
code_tokens: protected function dispatch ( DelayedEvent $ event ) { if ( $ this -> current instanceof Transaction ) { // Already in transaction, reserve it $ this -> current -> attach ( $ event ) ; } else { // There are no transactions, just dispatch it $ event -> fire ( ) ; } }
docstring: Dispaches payload.
  
  @param DelayedEvent $event
  @return void
docstring_tokens: Dispaches payload .