public function cancelTimer(TimerInterface $timer);
/** * @override * @inheritDoc */ public function cancel() { if (isset($this->loop)) { $this->loop->cancelTimer($this); } }