private function pathOf($item) { foreach ($this->itemNames() as $name) { $path = "{$this->path}/{$name}"; if ($item == $this->zookeeper->getData($path)) { return $path; } } return null; }
function get($key) { return $this->zookeeper->getData($this->formatKey($key)); }