Automated PR provided by Codex via Gitea API. Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de> Reviewed-on: #481
25 lines
599 B
PHP
25 lines
599 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Support\TenantConfiguration;
|
|
|
|
enum EvidenceState: string
|
|
{
|
|
case NotCaptured = 'not_captured';
|
|
case Captured = 'captured';
|
|
case ContentBacked = 'content_backed';
|
|
case PermissionBlocked = 'permission_blocked';
|
|
case SourceUnavailable = 'source_unavailable';
|
|
case SchemaUnknown = 'schema_unknown';
|
|
case CaptureFailed = 'capture_failed';
|
|
|
|
/**
|
|
* @return list<string>
|
|
*/
|
|
public static function values(): array
|
|
{
|
|
return array_map(static fn (self $case): string => $case->value, self::cases());
|
|
}
|
|
}
|