EvStat::__constructConstructs 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
Return ValuesReturns EvStat watcher object on succes. ExamplesExample #1 Monitor changes of /var/log/messages
<?php |