ResourceComponent.php
public function getEventQueue()
    {
        if (null === $this->eventQueue) {
            $this->eventQueue = new Event\EventQueue(
                $this->getConfigurationRegistry(),
                $this->getEventDispatcher()
            );
        }

        return $this->eventQueue;
    }
public function getEventQueue()
    {
        if (null === $this->eventQueue) {
            $this->eventQueue = new Event\EventQueue(
                $this->getConfigurationRegistry(),
                $this->getEventDispatcher()
            );
        }

        return $this->eventQueue;
    }
public function getEventQueue ( ) { if ( null === $ this -> eventQueue ) { $ this -> eventQueue = new Event \ EventQueue ( $ this -> getConfigurationRegistry ( ) , $ this -> getEventDispatcher ( ) ) ; } return $ this -> eventQueue ; }
Returns the event queue.

@return Event\EventQueue
Returns the event queue .