0, 'failed' => 1, 'validated' => 2 ]; } /** * Enum labels * * @return array */ protected static function labels(): array { return [ 'pending' => __('En attente'), 'failed' => __('Échec'), 'validated' => __('Validée') ]; } }