\Hubleto\Framework\Interfaces\HookManagerInterface
Methods
init
public init(): void
log
public log(string $msg): void
Parameters:
Parameter | Type | Description |
---|---|---|
$msg |
string |
addHook
public addHook(string $hookClass): void
Parameters:
Parameter | Type | Description |
---|---|---|
$hookClass |
string |
getHooks
public getHooks(): array
run
public run(string $trigger, array $args): void
Parameters:
Parameter | Type | Description |
---|---|---|
$trigger |
string | |
$args |
array |