26 lines
653 B
PHP
26 lines
653 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Support\TenantConfiguration;
|
|
|
|
enum CanonicalKeyKind: string
|
|
{
|
|
case ProviderExternalId = 'provider_external_id';
|
|
case GraphObjectId = 'graph_object_id';
|
|
case TcmResourceIdentifier = 'tcm_resource_identifier';
|
|
case SourceComposite = 'source_composite';
|
|
case DerivedComposite = 'derived_composite';
|
|
case ExperimentalSourceKey = 'experimental_source_key';
|
|
case Unsupported = 'unsupported';
|
|
|
|
/**
|
|
* @return list<string>
|
|
*/
|
|
public static function values(): array
|
|
{
|
|
return array_map(static fn (self $case): string => $case->value, self::cases());
|
|
}
|
|
}
|
|
|