Container
Less than 1 minute
Container
Base process container used by agent-side Warlock components.
class Container extends \Hazaar\Warlock\ProcessExtends: Hazaar\Warlock\Process
Methods
createConnection
Creates the default pipe connection used for local agent IPC.
public createConnection(Protocol $protocol, ?string $guid): Connection|falseReturns: Hazaar\Warlock\Interface\Connection|false
Parameters
| Parameter | Type | Description |
|---|---|---|
$protocol | Hazaar\Warlock\Protocol | |
$guid | string |
beforeEvent
Hook executed before endpoint invocation.
public beforeEvent(mixed $params): boolReturns: bool
Parameters
| Parameter | Type | Description |
|---|---|---|
$params | mixed |
afterEvent
Hook executed after endpoint invocation.
public afterEvent(mixed $result, mixed $params): voidReturns: void
Parameters
| Parameter | Type | Description |
|---|---|---|
$result | mixed | |
$params | mixed |
Generated by Hazaar API Doc Generator on Fri, 04 Sep 2026 23:32:17 +0000