TenantAtlas/apps/platform/app/Support/TenantConfiguration/SourceClass.php
ahmido dfda397eb6 feat: migrate tcm first coverage core cutover (#481)
Automated PR provided by Codex via Gitea API.

Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de>
Reviewed-on: #481
2026-06-25 12:54:56 +00:00

31 lines
644 B
PHP

<?php
declare(strict_types=1);
namespace App\Support\TenantConfiguration;
enum SourceClass: string
{
case Tcm = 'tcm';
case GraphV1Fallback = 'graph_v1_fallback';
case GraphBetaExperimental = 'graph_beta_experimental';
/**
* @return list<string>
*/
public static function values(): array
{
return array_map(static fn (self $case): string => $case->value, self::cases());
}
public function isBetaExperimental(): bool
{
return $this === self::GraphBetaExperimental;
}
public function isGraphFallback(): bool
{
return $this === self::GraphV1Fallback;
}
}