public   void    EvWatcher::setCallback    (     callable     $callback      )

EvWatcher::setCallbackSets new callback for the watcher

callback

See Watcher callbacks .