Definition at line 5 of file BaseHooksTrait.php.
◆ addHook()
addHook |
( |
|
$hookKey, |
|
|
|
$callable |
|
) |
| |
Adds a new Hook.
- Parameters
-
String | $hookKey | |
callable | $callable | |
Definition at line 32 of file BaseHooksTrait.php.
◆ execHook()
execHook |
( |
|
$hookKey, |
|
|
|
$variables |
|
) |
| |
Executes the hook with key $hookKey.
- Parameters
-
string | $hookKey | |
mixed | null | $variable | |
- Returns
- void|mixed
Definition at line 42 of file BaseHooksTrait.php.
◆ getHook()
◆ hookExists()
◆ $_hooks
The documentation for this class was generated from the following file: