You are here

public function PoStreamReader::getHeader in Service Container 7.2

Same name and namespace in other branches
  1. 7 lib/Drupal/Component/Gettext/PoStreamReader.php \Drupal\Component\Gettext\PoStreamReader::getHeader()

Get header metadata.

Return value

\Drupal\Component\Gettext\PoHeader $header Header instance representing metadata in a PO header.

Overrides PoMetadataInterface::getHeader

File

lib/Drupal/Component/Gettext/PoStreamReader.php, line 122
Contains \Drupal\Component\Gettext\PoStreamReader.

Class

PoStreamReader
Implements Gettext PO stream reader.

Namespace

Drupal\Component\Gettext

Code

public function getHeader() {
  return $this->_header;
}