21 lines
413 B
PHP
21 lines
413 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Support\TenantConfiguration;
|
|
|
|
enum RestoreTier: string
|
|
{
|
|
case NotRestorable = 'not_restorable';
|
|
case PreviewOnly = 'preview_only';
|
|
case Restorable = 'restorable';
|
|
|
|
/**
|
|
* @return list<string>
|
|
*/
|
|
public static function values(): array
|
|
{
|
|
return array_map(static fn (self $case): string => $case->value, self::cases());
|
|
}
|
|
}
|