PocketMine-MP 5.23.3 git-f7687af337d001ddbcc47b8e773f014a33faa662
|
Public Member Functions | |
getAll () | |
getHandlersFor (string $event) | |
getListFor (string $event) | |
unregisterAll (RegisteredListener|Plugin|Listener|null $object=null) | |
Static Public Member Functions | |
static | global () |
Definition at line 29 of file HandlerListManager.php.
pocketmine\event\HandlerListManager::getAll | ( | ) |
Definition at line 128 of file HandlerListManager.php.
pocketmine\event\HandlerListManager::getHandlersFor | ( | string | $event | ) |
@phpstan-param class-string<covariant Event> $event
Definition at line 119 of file HandlerListManager.php.
pocketmine\event\HandlerListManager::getListFor | ( | string | $event | ) |
Returns the HandlerList for listeners that explicitly handle this event.
Calling this method also lazily initializes the $classMap inheritance tree of handler lists.
@phpstan-param class-string<covariant Event> $event
ReflectionException
InvalidArgumentException
Definition at line 94 of file HandlerListManager.php.
|
static |
Definition at line 33 of file HandlerListManager.php.
pocketmine\event\HandlerListManager::unregisterAll | ( | RegisteredListener|Plugin|Listener|null | $object = null | ) |
Unregisters all the listeners If a Plugin or Listener is passed, all the listeners with that object will be removed
Definition at line 49 of file HandlerListManager.php.