Files
backend/src/app/Domain/Integration/MachineProviderInterface.php
T
bastien d95bfa6c58
Laverie/backend/pipeline/head There was a failure building this commit
Jenkins file
2026-07-04 22:42:58 +02:00

17 lines
427 B
PHP

<?php
namespace App\Domain\Integration;
use App\Models\Machine;
interface MachineProviderInterface
{
public function startCycle(Machine $machine, array $payload): MachineCommandResult;
public function stopCycle(Machine $machine, array $payload = []): MachineCommandResult;
public function refreshStatus(Machine $machine): MachineStatusSnapshot;
public function handleInboundEvent(array $payload): void;
}