You are here

public function AbstractFeed::getLanguage in Zircon Profile 8

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

Get the feed language

Return value

string|null

File

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

Class

AbstractFeed

Namespace

Zend\Feed\Writer

Code

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