public function doUpdate() { if (empty($this->channelCache)) { return; } foreach ($this->channelCache as $chan) { $this->updateChannel($chan); } }