13 lines
294 B
PHP
13 lines
294 B
PHP
<?php
|
|
|
|
namespace App\Provisioning\Contracts;
|
|
|
|
/**
|
|
* A polymorphic run subject (Host, Order …) that reacts when its run fails,
|
|
* so the runner can update domain state without knowing the concrete model.
|
|
*/
|
|
interface ProvisioningSubject
|
|
{
|
|
public function onProvisioningFailed(): void;
|
|
}
|