initial commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<?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;
|
||||
}
|
||||
Reference in New Issue
Block a user