Add INotifyHandler to make notify more flexible

This commit is contained in:
Robin Appelman 2016-12-08 15:18:24 +01:00
commit 8c937d6126
8 changed files with 277 additions and 20 deletions

View file

@ -145,8 +145,7 @@ interface IShare {
/**
* @param string $path
* @param callable $callback callable which will be called for each received change
* @return mixed
* @return INotifyHandler
*/
public function notify($path, callable $callback);
public function notify($path);
}