Renames ManagedEnvironment context badge to Environment context as requested. Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de> Reviewed-on: #431
25 lines
541 B
PHP
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;
|
|
}
|