$events->trigger()
Runs the hook without modifying the arguments
$events->trigger(string $name, array $args = [ ]): void
Parameters
| Name | Type | Default |
|---|---|---|
| $namerequired | string |
no default value |
| $args | array |
[ ]
|
Runs the hook without modifying the arguments
$events->trigger(string $name, array $args = [ ]): void
| Name | Type | Default |
|---|---|---|
| $namerequired | string |
no default value |
| $args | array |
[ ]
|