Runner
Less than 1 minute
Runner
Standalone runtime process used to execute a single endpoint payload.
class Runner extends \Hazaar\Warlock\ProcessExtends: Hazaar\Warlock\Process
Properties
app
Bootstrapped application instance used for endpoint execution.
private Application $appType: Hazaar\Application
Methods
__construct
public __construct(Application $app): voidParameters
| Parameter | Type | Description |
|---|---|---|
$app | Hazaar\Application | application runtime context |
launch
public launch(array $argv): intReturns: int
Parameters
| Parameter | Type | Description |
|---|---|---|
$argv | array |
create
public create(Application $app, array $argv): intReturns: int
Parameters
| Parameter | Type | Description |
|---|---|---|
$app | Hazaar\Application | |
$argv | array |
createConnection
Creates an IPC pipe connection to the parent process.
protected createConnection(Protocol $protocol, ?string $guid): Connection|falseReturns: Hazaar\Warlock\Interface\Connection|false
Parameters
| Parameter | Type | Description |
|---|---|---|
$protocol | Hazaar\Warlock\Protocol | |
$guid | string |
processCommand
Handles runner-specific inbound commands.
protected processCommand(PacketType $command, ?\stdClass $payload): boolReturns: bool
Parameters
| Parameter | Type | Description |
|---|---|---|
$command | Hazaar\Warlock\Enum\PacketType | |
$payload | stdClass |
Generated by Hazaar API Doc Generator on Fri, 04 Sep 2026 23:32:17 +0000