public function getBroker()
    {
        if (is_null($this->broker)) {
            $this->broker = $this->getOption(self::OPTION_TASK_LOG_BROKER);
            $this->broker->setServiceLocator($this->getServiceLocator());
        }

        return $this->broker;
    }
public function getBroker()
    {
        if (is_null($this->broker)) {
            $this->broker = $this->getOption(self::OPTION_TASK_LOG_BROKER);
            $this->broker->setServiceLocator($this->getServiceLocator());
        }

        return $this->broker;
    }
public function getBroker ( ) { if ( is_null ( $ this -> broker ) ) { $ this -> broker = $ this -> getOption ( self :: OPTION_TASK_LOG_BROKER ) ; $ this -> broker -> setServiceLocator ( $ this -> getServiceLocator ( ) ) ; } return $ this -> broker ; }
Gets the task log broker. It will be created if it has not been initialized.

@return TaskLogBrokerInterface
Gets the task log broker . It will be created if it has not been initialized .