You are here

public function Entry::addAuthors in Zircon Profile 8.0

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

Set an array with feed authors

Parameters

array $authors:

Return value

Entry

See also

addAuthor

File

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

Class

Entry

Namespace

Zend\Feed\Writer

Code

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