ResourceComponent.php
public function getPersistenceEventQueue()
    {
        if (null === $this->persistenceEventQueue) {
            $this->persistenceEventQueue = new Persistence\PersistenceEventQueue(
                $this->getConfigurationRegistry(),
                $this->getEventDispatcher()
            );
        }

        return $this->persistenceEventQueue;
    }
public function getPersistenceEventQueue()
    {
        if (null === $this->persistenceEventQueue) {
            $this->persistenceEventQueue = new Persistence\PersistenceEventQueue(
                $this->getConfigurationRegistry(),
                $this->getEventDispatcher()
            );
        }

        return $this->persistenceEventQueue;
    }
public function getPersistenceEventQueue ( ) { if ( null === $ this -> persistenceEventQueue ) { $ this -> persistenceEventQueue = new Persistence \ PersistenceEventQueue ( $ this -> getConfigurationRegistry ( ) , $ this -> getEventDispatcher ( ) ) ; } return $ this -> persistenceEventQueue ; }
Returns the persistence event queue.

@return Persistence\PersistenceEventQueue
Returns the persistence event queue .