Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<Zookeeper::setWatcherZookeeperConfig::add>
^ZooKeeperLast updated: Mon, 26 Oct 2026

The ZookeeperConfig class

(PECL zookeeper >= 0.6.0, ZooKeeper >= 3.5.0)

Introduction

The ZooKeeper Config handling class.

Class synopsis

class ZookeeperConfig {
/* Methods */
public function add(string $members, int $version = -1, array &$stat = null): void
public function get(callable $watcher_cb = null, array &$stat = null): string
public function remove(string $id_list, int $version = -1, array &$stat = null): void
public function set(string $members, int $version = -1, array &$stat = null): void
}

Table of Contents


<Zookeeper::setWatcherZookeeperConfig::add>
^ZooKeeperLast updated: Mon, 26 Oct 2026