We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Zookeeper::__construct - Create a Zookeeper instance
public Zookeeper::__construct( [$host = '' [, $watcher_cb = null [, $recv_timeout = 10000 ]]] )
Create a Zookeeper instance
host
CSV list of host:port values (e.g. "host1:2181,host2:2181")
watcher_cb
TODO:
recv_timeout
A Zookeeper object.
<?php $zookeeper = new Zookeeper('localhost:2181'); ?>