EvPeriodic::createStopped

(PECL ev >= 0.2.0) Create a stopped EvPeriodic watcher final public static EvPeriodic EvPeriodic::createStopped ( double $offset , double $interval , callable $reschedule_cb , callable $callback [, mixed $data = NULL [, int $priority = 0 ]] ) Create EvPeriodic object. Unlike EvPeriodic::__construct() this method doesn't start the watcher automatically. Parameters: offset

EvPeriodic::__construct

(PECL ev >= 0.2.0) Constructs EvPeriodic watcher object public EvPeriodic::__construct ( double $offset , string $interval , callable $reschedule_cb , callable $callback [, mixed $data = NULL [, int $priority = 0 ]] ) Constructs EvPeriodic watcher object and starts it automatically. EvPeriodic::createStopped() method creates stopped periodic watcher. Parameters: offset

EvPeriodic::at

(PECL ev >= 0.2.0) Returns the absolute time that this watcher is supposed to trigger next public double EvPeriodic::at ( void ) When the watcher is active, returns the absolute time that this watcher is supposed to trigger next. This is not the same as the offset argument to EvPeriodic::set() or EvPeriodic::__construct() , but indeed works even in interval mode. Returns: Returns the absolute t

EvPeriodic::again

(PECL ev >= 0.2.0) Simply stops and restarts the periodic watcher again. public void EvPeriodic::again ( void ) Simply stops and restarts the periodic watcher again. This is only useful when attributes are changed. Returns: No value is returned. See also: EvTimer::again() -

EvLoop::verify

(PECL ev >= 0.2.0) Performs internal consistency checks(for debugging) public void EvLoop::verify ( void ) Performs internal consistency checks(for debugging libev ) and abort the program if any data structures were found to be corrupted. Returns: No value is returned. See also: Ev::verify() -

EvLoop::timer

(PECL ev >= 0.2.0) Creates EvTimer watcher object associated with the current event loop instance final public EvTimer EvLoop::timer ( double $after , double $repeat , callable $callback [, mixed $data = NULL [, int $priority = 0 ]] ) Creates EvTimer watcher object associated with the current event loop instance Returns: Returns EvTimer object on success

EvLoop::suspend

(PECL ev >= 0.2.0) Suspend the loop public void EvLoop::suspend ( void ) EvLoop::suspend() and EvLoop::resume() methods suspend and resume a loop correspondingly. Returns: No value is returned. See also: EvLoop::resume() - Ev::suspend() -

EvLoop::stop

(PECL ev >= 0.2.0) Stops the event loop public void EvLoop::stop ([ int $how ] ) Stops the event loop Parameters: how One of Ev::BREAK_* constants . Returns: No value is returned. See also: EvLoop::run() - Ev::stop() -

EvLoop::stat

(PECL ev >= 0.2.0) Creates EvStat watcher object associated with the current event loop instance final public EvStat EvLoop::stat ( string $path , double $interval , callable $callback [, mixed $data = NULL [, int $priority = 0 ]] ) Creates EvStat watcher object associated with the current event loop instance Returns: Returns EvStat object on success

EvLoop::signal

(PECL ev >= 0.2.0) Creates EvSignal watcher object associated with the current event loop instance final public EvSignal EvLoop::signal ( int $signum , callable $callback [, mixed $data = NULL [, int $priority = 0 ]] ) Creates EvSignal watcher object associated with the current event loop instance Returns: Returns EvSignal object on success