public function Entry::addCategories in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/zendframework/zend-feed/src/Writer/Entry.php \Zend\Feed\Writer\Entry::addCategories()
Set an array of entry categories
Parameters
array $categories:
Return value
File
- vendor/
zendframework/ zend-feed/ src/ Writer/ Entry.php, line 568
Class
Namespace
Zend\Feed\WriterCode
public function addCategories(array $categories) {
foreach ($categories as $category) {
$this
->addCategory($category);
}
return $this;
}