|
|
|
@ -36,9 +36,10 @@ class Dispatcher
|
|
|
|
protected array $events = [];
|
|
|
|
protected array $events = [];
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
|
|
|
|
* @deprecated Don't use this property, use `hook()` instead.
|
|
|
|
* @var array<string, array{
|
|
|
|
* @var array<string, array{
|
|
|
|
* before?: (callable(mixed[] &$params, mixed &$output): (void|false))[],
|
|
|
|
* before?: (callable(mixed[] &$params, mixed &$output): (void|never|false))[],
|
|
|
|
* after?: (callable(mixed[] &$params, mixed &$output): (void|false))[],
|
|
|
|
* after?: (callable(mixed[] &$params, mixed &$output): (void|never|false))[],
|
|
|
|
* }>
|
|
|
|
* }>
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
protected array $filters = [];
|
|
|
|
protected array $filters = [];
|
|
|
|
|