public function setContent($content) { if ($this->version != Feed::ATOM) { throw new InvalidOperationException('The content element is supported in ATOM feeds only.'); } return $this->addElement('content', $content, array('type' => 'html')); }