pocketmine\inventory\Inventory::onClose PHP Method