public function set($path, $value) {
		if (!$this->zookeeper->exists($path)) {
			$this->makePath($path);
			$this->makeNode($path, $value);
		} else {
			$this->zookeeper->set($path, $value);
		}
	}
public function set($path, $value) {
		if (!$this->zookeeper->exists($path)) {
			$this->makePath($path);
			$this->makeNode($path, $value);
		} else {
			$this->zookeeper->set($path, $value);
		}
	}
public function set ( $ path , $ value ) { if ( ! $ this -> zookeeper -> exists ( $ path ) ) { $ this -> makePath ( $ path ) ; $ this -> makeNode ( $ path , $ value ) ; } else { $ this -> zookeeper -> set ( $ path , $ value ) ; } }
Set a node to a value. If the node doesn't exist yet, it is created.
Existing values of the node are overwritten

@param string $path  The path to the node
@param mixed  $value The new value for the node

@return mixed previous value if set, or null
Set a node to a value . If the node doesn t exist yet it is created . Existing values of the node are overwritten