You are here

public function PoStreamWriter::getHeader in Service Container 7.2

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

Gets the PO header of the current stream.

Return value

\Drupal\Component\Gettext\PoHeader The Gettext PO header.

Overrides PoMetadataInterface::getHeader

File

lib/Drupal/Component/Gettext/PoStreamWriter.php, line 42
Contains \Drupal\Component\Gettext\PoStreamWriter.

Class

PoStreamWriter
Defines a Gettext PO stream writer.

Namespace

Drupal\Component\Gettext

Code

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