/** * {@inheritdoc} */ public function clear() { for ($this->timers->rewind(); $this->timers->valid(); $this->timers->next()) { $this->timers->getInfo()->free(); } $this->timers = new ObjectStorage(); }