You are here

public function Entry::setSource in Zircon Profile 8

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

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

Parameters

Source $source:

Return value

Entry

File

vendor/zendframework/zend-feed/src/Writer/Entry.php, line 733

Class

Entry

Namespace

Zend\Feed\Writer

Code

public function setSource(Source $source) {
  $this->data['source'] = $source;
  return $this;
}