HandlerListManager
Methods
getAll()
php
public function getAll() : arraygetHandlersFor()
php
public function getHandlersFor(string $event) : arraygetListFor()
php
public function getListFor(string $event) : \pocketmine\event\HandlerListReturns the HandlerList for listeners that explicitly handle this event.
Calling this method also lazily initializes the $classMap inheritance tree of handler lists.
global()
php
public static function global() : selfunregisterAll()
php
public function unregisterAll(\pocketmine\event\RegisteredListener|\pocketmine\plugin\Plugin|\pocketmine\event\Listener|null $object = null) : voidUnregisters all the listeners If a Plugin or Listener is passed, all the listeners with that object will be removed
