public   bool Zookeeper::setWatcher    ( callable $watcher_cb   )

Zookeeper::setWatcherSet a watcher function

watcher_cb

A watch will be set at the server to notify the client if the node changes.