You are here

public function Entry::getEnclosure in Zircon Profile 8.0

Same name in this branch
  1. 8.0 vendor/zendframework/zend-feed/src/Writer/Entry.php \Zend\Feed\Writer\Entry::getEnclosure()
  2. 8.0 vendor/zendframework/zend-feed/src/Reader/Extension/Atom/Entry.php \Zend\Feed\Reader\Extension\Atom\Entry::getEnclosure()
Same name and namespace in other branches
  1. 8 vendor/zendframework/zend-feed/src/Writer/Entry.php \Zend\Feed\Writer\Entry::getEnclosure()

Retrieve an array of all enclosures to be added to entry.

Return value

array

File

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

Class

Entry

Namespace

Zend\Feed\Writer

Code

public function getEnclosure() {
  if (!array_key_exists('enclosure', $this->data)) {
    return;
  }
  return $this->data['enclosure'];
}