EvStat::prev

(PECL ev >= 0.2.0) Returns the previous set of values returned by EvStat::attr public void EvStat::prev ( void ) Just like EvStat::attr() , but returns the previous set of values. Returns: Returns an array with the same structure as the array returned by EvStat::attr() . The array contains previously detected values. See also:

EvStat::createStopped

(PECL ev >= 0.2.0) Create a stopped EvStat watcher object final public static void EvStat::createStopped ( string $path , double $interval , callable $callback [, mixed $data = NULL [, int $priority = 0 ]] ) Creates EvStat watcher object, but doesn't start it automatically(unlike EvStat::__construct() ). Parameters: path The path to wait for status changes on.

EvStat::__construct

(PECL ev >= 0.2.0) Constructs EvStat watcher object public EvStat::__construct ( string $path , double $interval , callable $callback [, mixed $data = NULL [, int $priority = 0 ]] ) Constructs EvStat watcher object and starts the watcher automatically. Parameters: path The path to wait for status changes on. interval Hint on how q

EvStat::attr

(PECL ev >= 0.2.0) Returns the values most recently detected by Ev public array EvStat::attr ( void ) Returns array of the values most recently detected by Ev Returns: Returns array with the values most recently detect by Ev(without actual stat 'ing): List for item keys of the array returned by EvStat::attr() Key Description 'dev' ID of device containing file 'ino' inode number 'mode'

EvSignal::set

(PECL ev >= 0.2.0) Configures the watcher public void EvSignal::set ( int $signum ) Configures the watcher. Parameters: signum Signal number. The same as for EvSignal::__construct() Returns: No value is returned.

EvSignal::createStopped

(PECL ev >= 0.2.0) Create stopped EvSignal watcher object final public static EvSignal EvSignal::createStopped ( int $signum , callable $callback [, mixed $data = NULL [, int $priority = 0 ]] ) Create stopped EvSignal watcher object. Unlike EvSignal::__construct() , this method does't start the watcher automatically. Parameters: signum Signal number. See constants e

EvSignal::__construct

(PECL ev >= 0.2.0) Constructs EvPeriodic watcher object public EvSignal::__construct ( int $signum , callable $callback [, mixed $data = NULL [, int $priority = 0 ]] ) Constructs EvPeriodic watcher object and starts it automatically. For a stopped periodic watcher consider using EvSignal::createStopped() method. Parameters: signum Signal number. See constants export

EvPrepare::createStopped

(PECL ev >= 0.2.0) Creates a stopped instance of EvPrepare watcher final public static EvPrepare EvPrepare::createStopped ( callable $callback [, mixed $data = NULL [, int $priority = 0 ]] ) Creates a stopped instance of EvPrepare watcher. Unlike EvPrepare::__construct() , this method doesn' start the watcher automatically. Parameters: callback See Watcher callbacks

EvPrepare::__construct

(PECL ev >= 0.2.0) Constructs EvPrepare watcher object public EvPrepare::__construct ( string $callback [, string $data [, string $priority ]] ) Constructs EvPrepare watcher object. And starts the watcher automatically. If need a stopped watcher consider using EvPrepare::createStopped() Parameters: callback See Watcher callbacks . data

EvPeriodic::set

(PECL ev >= 0.2.0) Configures the watcher public void EvPeriodic::set ( double $offset , double $interval ) (Re-)Configures EvPeriodic watcher Parameters: offset The same meaning as for EvPeriodic::__construct() . See Periodic watcher operation modes interval The same meaning as for EvPeriodic::__construct() . See Periodic watcher