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