EvStat::__construct
EvStat::__construct
(PECL ev >= 0.2.0)
EvStat::__construct — Constructs EvStat watcher object
Description
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