EvTimer::__construct

EvTimer::__construct

(PECL ev >= 0.2.0)

EvTimer::__constructConstructs an EvTimer watcher object

Description

public EvTimer::__construct (  double $after  ,  double $repeat  ,  callable $callback  [,  mixed $data  = NULL  [,  int $priority  = 0  ]] )

Constructs an EvTimer watcher object.

Parameters

after

Configures the timer to trigger after after seconds.

repeat 登录查看完整内容