public   string Zookeeper::get    ( string $path   [, callable $watcher_cb = NULL   [, array &$stat = NULL   [, int $max_size = 0  ]]] )

Zookeeper::getGets the data associated with a node synchronously


The name of the node. Expressed as a file name with slashes separating ancestors of the node.


If nonzero, a watch will be set at the server to notify the client if the node changes.


If not NULL, will hold the value of stat for the path on return.


Max size of the data. If 0 is used, this method will return the whole data.