Zend\Feed\Writer\AbstractFeed::addAuthor
Set a single author
The following option keys are supported: 'name' => (string) The name 'email' => (string) An optional email 'uri' => (string) An optional and valid URI
Signature
public function addAuthor(array
$author )
Parameters
$author
— array
Returns
- AbstractFeed
Errors/Exceptions
-
InvalidArgumentException
- If any value of $author not follow the format.