Automated PR provided by Codex via Gitea API. Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de> Reviewed-on: #481
23 lines
511 B
PHP
23 lines
511 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Support\TenantConfiguration;
|
|
|
|
enum IdentityState: string
|
|
{
|
|
case Stable = 'stable';
|
|
case Derived = 'derived';
|
|
case IdentityConflict = 'identity_conflict';
|
|
case MissingExternalId = 'missing_external_id';
|
|
case UnsupportedIdentity = 'unsupported_identity';
|
|
|
|
/**
|
|
* @return list<string>
|
|
*/
|
|
public static function values(): array
|
|
{
|
|
return array_map(static fn (self $case): string => $case->value, self::cases());
|
|
}
|
|
}
|