Service
Less than 1 minute
Service
Properties
childConfig
public array $childConfigname
public string $name = 'Unnamed Service'enabled
public bool $enabled = trueinfo
public array $infodelay
public int $delayloglevel
public LogLevel $loglevel = 'LogLevel'Methods
__construct
public __construct(Main $agent, Logger $log, array $config): voidParameters
| Parameter | Type | Description |
|---|---|---|
$agent | Main | |
$log | Logger | |
$config | array |
run
public run(): selfprocessCommand
protected processCommand(PacketType $command, mixed $payload): boolParameters
| Parameter | Type | Description |
|---|---|---|
$command | PacketType | |
$payload | mixed |
Generated by Hazaar API Doc Generator on Mon, 27 Oct 2025 13:01:29 +0000