You are here

public function AbstractFeed::getAuthors 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::getAuthors()

Get an array with feed authors

Return value

array

File

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

Class

AbstractFeed

Namespace

Zend\Feed\Writer

Code

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