19 lines
421 B
PHP
19 lines
421 B
PHP
<?php
|
|
|
|
namespace App\Support\Providers;
|
|
|
|
enum ProviderCredentialSource: string
|
|
{
|
|
case DedicatedManual = 'dedicated_manual';
|
|
case DedicatedImported = 'dedicated_imported';
|
|
case LegacyMigrated = 'legacy_migrated';
|
|
|
|
/**
|
|
* @return array<int, string>
|
|
*/
|
|
public static function values(): array
|
|
{
|
|
return array_map(static fn (self $case): string => $case->value, self::cases());
|
|
}
|
|
}
|