protected function getQueue()
        {
            if (null === $this->queue) {
                $this->queue = new $this->queueClass();

                if (!$this->queue instanceof SplPriorityQueue) {
                    throw new Exception(sprintf(
                        'Queue expects an internal queue of type SplPriorityQueue; received "%s"',
                        get_class($this->queue)
                    ));
                }
            }

            return $this->queue;
        }
protected function getQueue()
        {
            if (null === $this->queue) {
                $this->queue = new $this->queueClass();

                if (!$this->queue instanceof SplPriorityQueue) {
                    throw new Exception(sprintf(
                        'Queue expects an internal queue of type SplPriorityQueue; received "%s"',
                        get_class($this->queue)
                    ));
                }
            }

            return $this->queue;
        }
protected function getQueue ( ) { if ( null === $ this -> queue ) { $ this -> queue = new $ this -> queueClass ( ) ; if ( ! $ this -> queue instanceof SplPriorityQueue ) { throw new Exception ( sprintf ( 'Queue expects an internal queue of type SplPriorityQueue; received "%s"' , get_class ( $ this -> queue ) ) ) ; } } return $ this -> queue ; }
Get the inner priority queue instance

@throws Exception\DomainException
@return SplQueue
Get the inner priority queue instance