Unregisters all the listeners
If a Plugin or Listener is passed, all the listeners with that object will be removed
public static unregisterAll ( pocketmine\plugin\Plugin | Listener | null $object = null ) | ||
$object | pocketmine\plugin\Plugin | Listener | null |