You are here

public function PoMetadataInterface::getHeader in Service Container 7.2

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

Get header metadata.

Return value

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

3 methods override PoMetadataInterface::getHeader()
PoMemoryWriter::getHeader in lib/Drupal/Component/Gettext/PoMemoryWriter.php
Implements Drupal\Component\Gettext\PoMetadataInterface:getHeader().
PoStreamReader::getHeader in lib/Drupal/Component/Gettext/PoStreamReader.php
Get header metadata.
PoStreamWriter::getHeader in lib/Drupal/Component/Gettext/PoStreamWriter.php
Gets the PO header of the current stream.

File

lib/Drupal/Component/Gettext/PoMetadataInterface.php, line 48
Contains \Drupal\Component\Gettext\PoMetadataInterface.

Class

PoMetadataInterface
Methods required for both reader and writer implementations.

Namespace

Drupal\Component\Gettext

Code

public function getHeader();