You are here

public function Deleted::getEncoding in Zircon Profile 8

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

Get the feed character encoding

Return value

string|null

File

vendor/zendframework/zend-feed/src/Writer/Deleted.php, line 57

Class

Deleted

Namespace

Zend\Feed\Writer

Code

public function getEncoding() {
  if (!array_key_exists('encoding', $this->data)) {
    return 'UTF-8';
  }
  return $this->data['encoding'];
}