You are here

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

Set an array with feed authors

Parameters

array $authors:

Return value

AbstractFeed

See also

addAuthor

File

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

Class

AbstractFeed

Namespace

Zend\Feed\Writer

Code

public function addAuthors(array $authors) {
  foreach ($authors as $author) {
    $this
      ->addAuthor($author);
  }
  return $this;
}