protected function matchEventQueue(
        /*# string */ $eventName,
        EventManagerInterface $manager
    )/*# : EventQueueInterface */ {
        $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;
    }
protected function matchEventQueue(
        /*# string */ $eventName,
        EventManagerInterface $manager
    )/*# : EventQueueInterface */ {
        $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;
    }
protected function matchEventQueue ( /*# string */ $ eventName , EventManagerInterface $ manager ) /*# : EventQueueInterface */ { $ 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 ; }
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
Match proper event queue with globbing support