You are here

public function AbstractFeed::getImage in Zircon Profile 8

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

Get the feed image URI

Return value

array

File

vendor/zendframework/zend-feed/src/Writer/AbstractFeed.php, line 646

Class

AbstractFeed

Namespace

Zend\Feed\Writer

Code

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