public function makePath($path, $value = '') {
		$parts = explode('/', $path);
		$parts = array_filter($parts);
		$subpath = '';
		while (count($parts) > 1) {
			$subpath .= '/' . array_shift($parts);
			if (!$this->zookeeper->exists($subpath)) {
				$this->makeNode($subpath, $value);
			}
		}
	}
public function makePath($path, $value = '') {
		$parts = explode('/', $path);
		$parts = array_filter($parts);
		$subpath = '';
		while (count($parts) > 1) {
			$subpath .= '/' . array_shift($parts);
			if (!$this->zookeeper->exists($subpath)) {
				$this->makeNode($subpath, $value);
			}
		}
	}
public function makePath ( $ path , $ value = '' ) { $ parts = explode ( '/' , $ path ) ; $ parts = array_filter ( $ parts ) ; $ subpath = '' ; while ( count ( $ parts ) > 1 ) { $ subpath .= '/' . array_shift ( $ parts ) ; if ( ! $ this -> zookeeper -> exists ( $ subpath ) ) { $ this -> makeNode ( $ subpath , $ value ) ; } } }
Equivalent of "mkdir -p" on ZooKeeper

@param string $path  The path to the node
@param string $value The value to assign to each new node along the path

@return bool
Equivalent of mkdir - p on ZooKeeper