public function getWorkerName() { $list = Yii::app()->getModule('queue')->getWorkerNamesMap(); return isset($list[$this->worker]) ? $list[$this->worker] : $this->worker; }