You are here

public function AbstractFeed::getCategories in Zircon Profile 8.0

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

Get the feed categories

Return value

string|null

File

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

Class

AbstractFeed

Namespace

Zend\Feed\Writer

Code

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