|
Zookeeper::getGets the data associated with a node synchronously. Description
public
string Zookeeper::get
( string
$path
[, callable $watcher_cb = null
[, array &$stat = null
[, int $max_size = 0
]]] )Parameters
Return ValuesReturns the data on success, and false on failure. Errors/ExceptionsThis method emits PHP error/warning when parameters count or types are wrong or fail to get value from node. ExamplesExample #1 Zookeeper::get example Get value from node.
<?php The above example will output: nodevalue See Also
|