public function addInterval(Timer $timer) { $this->intervalList[] = $timer; $timer->setTimerManager($this); return $timer; }