original_string: public function handle(DomainEvent $event) : void {
          $method = lcfirst($this->getShortName($event));
          if (method_exists($this, $method)) {
              $this->$method($event);
          }
      }
code: public function handle(DomainEvent $event) : void {
          $method = lcfirst($this->getShortName($event));
          if (method_exists($this, $method)) {
              $this->$method($event);
          }
      }
code_tokens: public function handle ( DomainEvent $ event ) : void { $ method = lcfirst ( $ this -> getShortName ( $ event ) ) ; if ( method_exists ( $ this , $ method ) ) { $ this -> $ method ( $ event ) ; } }
docstring: receives domain events and routes them to a method with their name
  
  @param DomainEvent $event
docstring_tokens: receives domain events and routes them to a method with their name