Warlock
Less than 1 minute
Warlock
Class Warlock.
This class extends the Controller and provides methods to execute specified actions and retrieve system information.
Methods
runAction
Executes a specified action method within the controller.
public runAction(string $actionName, array $actionArgs, bool $namedActionArgs): ResponseParameters
| Parameter | Type | Description |
|---|---|---|
$actionName | string | the name of the action method to execute |
$actionArgs | array | Optional. An array of arguments to pass to the action method. Default is an empty array. |
$namedActionArgs | bool | Optional. A flag indicating whether the action arguments are named. Default is false. |
sid
Retrieves the system ID from the configuration and returns it as a text response.
private sid(): ResponseGenerated by Hazaar API Doc Generator on Wed, 07 Jan 2026 11:29:59 +0000