EvSignal::__constructConstructs EvPeriodic watcher object Beschreibung
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. Parameter-Liste
RückgabewerteReturns EvSignal object on success. BeispieleBeispiel #1 Handle SIGTERM signal
<?phpSiehe auch
|