You are here

public function Atom::getGenerator in Zircon Profile 8.0

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

Get the feed generator entry

Return value

string|null

Overrides FeedInterface::getGenerator

File

vendor/zendframework/zend-feed/src/Reader/Feed/Atom.php, line 185

Class

Atom

Namespace

Zend\Feed\Reader\Feed

Code

public function getGenerator() {
  if (array_key_exists('generator', $this->data)) {
    return $this->data['generator'];
  }
  $generator = $this
    ->getExtension('Atom')
    ->getGenerator();
  $this->data['generator'] = $generator;
  return $this->data['generator'];
}