PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

EvWatcher::setCallback

(PECL ev >= 0.2.0)

EvWatcher::setCallbackSets new callback for the watcher

Description

public void EvWatcher::setCallback ( callable $callback )

Sets new callback for the watcher

Parameters

callback

See Watcher callbacks .

Return Values

No value is returned.

PHP Manual