You are here

public function Feed::addEntry in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/zendframework/zend-feed/src/Writer/Feed.php \Zend\Feed\Writer\Feed::addEntry()

Appends a Zend\Feed\Writer\Entry object representing a new entry/item the feed data container's internal group of entries.

Parameters

Entry $entry:

Return value

Feed

File

vendor/zendframework/zend-feed/src/Writer/Feed.php, line 86

Class

Feed

Namespace

Zend\Feed\Writer

Code

public function addEntry(Entry $entry) {
  $this->entries[] = $entry;
  return $this;
}