Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
38 | public function __construct( |
||
39 | EventLoop $loop, |
||
40 | $interval, |
||
41 | callable $callback, |
||
42 | bool $periodic = false, |
||
43 | int $priority = 0 |
||
44 | ) { |
||
45 | $this->loop = $loop; |
||
46 | $this->interval = (float) $interval; |
||
47 | $this->callback = $callback; |
||
48 | $this->periodic = $periodic; |
||
49 | $this->priority = $priority; |
||
50 | } |
||
51 | |||
97 |