EvSignal::__constructConstructs EvSignal watcher object 説明
public
EvSignal::__construct(
int $signum
,callable $callback
,mixed $data
= null
,int $priority
= 0
) Constructs EvSignal watcher object and starts it automatically. For a stopped periodic watcher consider using EvSignal::createStopped method. パラメータ
例例1 Handle SIGTERM signal
参考
|