TenantAtlas/apps/platform/app/Support/Operations/Reconciliation/OperationRunReconciliationAdapter.php
ahmido 840c9bd28d refactor: rename ManagedEnvironment context badge to Environment context (#431)
Renames ManagedEnvironment context badge to Environment context as requested.

Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de>
Reviewed-on: #431
2026-06-06 20:30:26 +00:00

25 lines
541 B
PHP

<?php
declare(strict_types=1);
namespace App\Support\Operations\Reconciliation;
use App\Models\OperationRun;
use Throwable;
interface OperationRunReconciliationAdapter
{
public function key(): string;
/**
* @return array<int, string>
*/
public function supportedTypes(): array;
public function supportsType(string $type): bool;
public function reconcile(OperationRun $run): ?ReconciliationResult;
public function reconcileException(OperationRun $run, Throwable $throwable): ?ReconciliationResult;
}