public function Atom::getEnclosure in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/zendframework/zend-feed/src/Reader/Entry/Atom.php \Zend\Feed\Reader\Entry\Atom::getEnclosure()
Get the entry enclosure
Return value
string
Overrides EntryInterface::getEnclosure
File
- vendor/
zendframework/ zend-feed/ src/ Reader/ Entry/ Atom.php, line 163
Class
Namespace
Zend\Feed\Reader\EntryCode
public function getEnclosure() {
if (array_key_exists('enclosure', $this->data)) {
return $this->data['enclosure'];
}
$enclosure = $this
->getExtension('Atom')
->getEnclosure();
$this->data['enclosure'] = $enclosure;
return $this->data['enclosure'];
}