EvStat::__constructConstructs EvStat watcher object Beschreibung
public
EvStat::__construct
(
string
$path
,
double
$interval
,
callable
$callback
[,
mixed
$data
= NULL
[,
int
$priority
= 0
]] )Constructs EvStat watcher object and starts the watcher automatically. Parameter-Liste
RückgabewerteReturns EvStat watcher object on succes. BeispieleBeispiel #1 Monitor changes of /var/log/messages
<?php |