original_string: public function publishEventAdvice(JoinPointInterface $joinPoint)
      {
          $event = array_values($joinPoint->getMethodArguments())[0];
          $this->broker->queueEvent($event);
      }
code: public function publishEventAdvice(JoinPointInterface $joinPoint)
      {
          $event = array_values($joinPoint->getMethodArguments())[0];
          $this->broker->queueEvent($event);
      }
code_tokens: public function publishEventAdvice ( JoinPointInterface $ joinPoint ) { $ event = array_values ( $ joinPoint -> getMethodArguments ( ) ) [ 0 ] ; $ this -> broker -> queueEvent ( $ event ) ; }
docstring: Publishes an event as soon as a method with an event annotation is called.
  
  @param JoinPointInterface $joinPoint The join point.
  @return void
  
  @Flow\After("methodAnnotatedWith(Helmich\EventBroker\Annotations\Event)")
docstring_tokens: Publishes an event as soon as a method with an event annotation is called .