__('Pending'), self::STATUS_ERROR => __('Error'), self::STATUS_FAILED => __('Failed'), self::STATUS_PROCESSING => __('Processing'), self::STATUS_SUCCESS => __('Success'), ]; } /** * Retrieve option array with empty value * * @return string[] */ public function getAllOptions() { $result = []; foreach (self::getOptionArray() as $index => $value) { $result[] = ['value' => $index, 'label' => $value]; } return $result; } }