public function getFeed($channel) { if (!isset($this->feeds[$channel])) { throw new LogicException('You tried to get a not existent channel'); } return $this->feeds[$channel]; }