Classes/Helmich/EventBroker/Broker/Broker.php
public function initializeObject()
    {
        $this->queue = new \SplQueue();

        $this->synchronousEventMap  = $this->cache->get('DispatcherConfiguration_Synchronous');
        $this->asynchronousEventMap = $this->cache->get('DispatcherConfiguration_Asynchronous');

        if (FALSE === ($this->synchronousEventMap || $this->asynchronousEventMap))
        {
            $this->buildEventMap();

            $this->cache->set('DispatcherConfiguration_Asynchronous', $this->asynchronousEventMap);
            $this->cache->set('DispatcherConfiguration_Synchronous', $this->synchronousEventMap);
        }
    }
public function initializeObject()
    {
        $this->queue = new \SplQueue();

        $this->synchronousEventMap  = $this->cache->get('DispatcherConfiguration_Synchronous');
        $this->asynchronousEventMap = $this->cache->get('DispatcherConfiguration_Asynchronous');

        if (FALSE === ($this->synchronousEventMap || $this->asynchronousEventMap))
        {
            $this->buildEventMap();

            $this->cache->set('DispatcherConfiguration_Asynchronous', $this->asynchronousEventMap);
            $this->cache->set('DispatcherConfiguration_Synchronous', $this->synchronousEventMap);
        }
    }
public function initializeObject ( ) { $ this -> queue = new \ SplQueue ( ) ; $ this -> synchronousEventMap = $ this -> cache -> get ( 'DispatcherConfiguration_Synchronous' ) ; $ this -> asynchronousEventMap = $ this -> cache -> get ( 'DispatcherConfiguration_Asynchronous' ) ; if ( FALSE === ( $ this -> synchronousEventMap || $ this -> asynchronousEventMap ) ) { $ this -> buildEventMap ( ) ; $ this -> cache -> set ( 'DispatcherConfiguration_Asynchronous' , $ this -> asynchronousEventMap ) ; $ this -> cache -> set ( 'DispatcherConfiguration_Synchronous' , $ this -> synchronousEventMap ) ; } }
Initializes the broker. Loads the dispatching configuration from cache or builds it.
Initializes the broker . Loads the dispatching configuration from cache or builds it .