You are here

public function PoStreamReader::getHeader in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/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

core/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;
}