/** * Constructor * * @return void */ public function __construct($monitorPath, $dataPath) { $this->queue = Queue_Factory::getQueueManager($monitorPath, $dataPath); if (!$this->queue) { $this->error('Create queue manager failure'); Logger::error($this->error()); } }