public function watchCallback($event_type, $stat, $path)
	{
		if (!isset($this->callback[$path])) {
			return null;
		}
		
		foreach ($this->callback[$path] as $callback) {
			$this->zookeeper->get($path, array($this, 'watchCallback'));
			return call_user_func($callback);
		}
	}
public function watchCallback($event_type, $stat, $path)
	{
		if (!isset($this->callback[$path])) {
			return null;
		}
		
		foreach ($this->callback[$path] as $callback) {
			$this->zookeeper->get($path, array($this, 'watchCallback'));
			return call_user_func($callback);
		}
	}
public function watchCallback ( $ event_type , $ stat , $ path ) { if ( ! isset ( $ this -> callback [ $ path ] ) ) { return null ; } foreach ( $ this -> callback [ $ path ] as $ callback ) { $ this -> zookeeper -> get ( $ path , array ( $ this , 'watchCallback' ) ) ; return call_user_func ( $ callback ) ; } }
Wath event callback warper
@param int $event_type
@param int $stat
@param string $path
@return the return of the callback or null
Wath event callback warper