/** * Appends a Syndication\Feed\Entry object representing a new entry/item * the feed data container's internal group of entries. * * @param Syndication\Feed\Entry $entry * @return Syndication\Feed */ public function addEntry(Entry $entry) { $entry->setEncoding($this->getEncoding()); $this->entries[] = $entry; return $this; }