Queue::getStatusList PHP Method

getStatusList() public method

public getStatusList ( ) : array
return array
    public function getStatusList()
    {
        return [self::STATUS_NEW => Yii::t('QueueModule.queue', 'New'), self::STATUS_COMPLETED => Yii::t('QueueModule.queue', 'Completed'), self::STATUS_PROGRESS => Yii::t('QueueModule.queue', 'Working'), self::STATUS_ERROR => Yii::t('QueueModule.queue', 'Error')];
    }