Runner
Less than 1 minute
Runner
Standalone runtime process used to execute a single endpoint payload.
class Runner extends \Hazaar\Warlock\Agent\ProcessProperties
app
Bootstrapped application instance used for endpoint execution.
private Application $appMethods
__construct
public __construct(Application $app): voidParameters
| Parameter | Type | Description |
|---|---|---|
$app | Application | application runtime context |
launch
public launch(array $argv): intParameters
| Parameter | Type | Description |
|---|---|---|
$argv | array |
create
public create(Application $app, array $argv): intParameters
| Parameter | Type | Description |
|---|---|---|
$app | Application | |
$argv | array |
createConnection
Creates an IPC pipe connection to the parent process.
protected createConnection(Protocol $protocol, ?string $guid): falseParameters
| Parameter | Type | Description |
|---|---|---|
$protocol | Protocol | |
$guid | string |
processCommand
Handles runner-specific inbound commands.
protected processCommand(PacketType $command, ?\stdClass $payload): boolParameters
| Parameter | Type | Description |
|---|---|---|
$command | PacketType | |
$payload | \stdClass |
Generated by Hazaar API Doc Generator on Tue, 21 Apr 2026 04:00:25 +0000