| 1 | <?php |
||
| 11 | abstract class Timer implements TimerInterface |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var LoopInterface |
||
| 15 | */ |
||
| 16 | protected $loop; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var ReactTimer |
||
| 20 | */ |
||
| 21 | protected $reactTimer; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * {@inheritdoc} |
||
| 25 | */ |
||
| 26 | public function activate(LoopInterface $loop, ReactTimer $timer) |
||
| 31 | |||
| 32 | /** |
||
| 33 | * {@inheritdoc} |
||
| 34 | */ |
||
| 35 | public function cancel() |
||
| 39 | } |