|
PocketMine-MP 5.36.1 git-eaa7c4834c8fe2f379d24e7f0ee6cc63cfb18ccc
|
Collaboration diagram for pocketmine\event\HandlerListManager: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.