22 lines
458 B
PHP
22 lines
458 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Support\TenantConfiguration;
|
|
|
|
enum ClaimState: string
|
|
{
|
|
case ClaimAllowed = 'claim_allowed';
|
|
case ClaimLimited = 'claim_limited';
|
|
case ClaimBlocked = 'claim_blocked';
|
|
case InternalOnly = 'internal_only';
|
|
|
|
/**
|
|
* @return list<string>
|
|
*/
|
|
public static function values(): array
|
|
{
|
|
return array_map(static fn (self $case): string => $case->value, self::cases());
|
|
}
|
|
}
|