/**
  * Match proper event queue with globbing support
  *
  * Including queues with globbing event names
  *
  * @param  string $eventName event name to match
  * @param  EventManagerInterface $manager which manager to look at
  * @return EventQueueInterface
  * @access protected
  */
 protected function matchEventQueue($eventName, EventManagerInterface $manager)
 {
     $names = $this->globNames($eventName, $manager->getEventNames());
     // combine all globbing queue
     $queue = new EventQueue();
     foreach ($names as $n) {
         if ($manager->hasEventQueue($n)) {
             $queue = $queue->combine($manager->getEventQueue($n));
         }
     }
     return $queue;
 }
 /**
  * {@inheritDoc}
  */
 public function getEventNames()
 {
     return $this->event_manager->getEventNames();
 }