code: public function addListener($eventName, $listener, $priority = 200)
      {
          $dispatcher = $this->getServiceContainer()->getEventDispatcher();
          $dispatcher->addListener($eventName, $listener, $priority);
  
          return $this;
      }
docs: Register multiple event listeners.
  
  @param string   $eventName The event name to register.
  
  @param callable $listener  The listener to register.
  
  @param int      $priority  The priority.
  
  @return BaseSubscriber