You are here

public function PoMetadataInterface::getHeader in Localization update 7.2

Get header metadata.

Return value

PoHeader $header Header instance representing metadata in a PO header.

5 methods override PoMetadataInterface::getHeader()
PoDatabaseReader::getHeader in includes/locale/PoDatabaseReader.php
Implements PoMetadataInterface::getHeader().
PoDatabaseWriter::getHeader in includes/locale/PoDatabaseWriter.php
Implements PoMetadataInterface::getHeader().
PoMemoryWriter::getHeader in includes/gettext/PoMemoryWriter.php
Implements Drupal\Component\Gettext\PoMetadataInterface:getHeader().
PoStreamReader::getHeader in includes/gettext/PoStreamReader.php
Implements PoMetadataInterface::getHeader().
PoStreamWriter::getHeader in includes/gettext/PoStreamWriter.php
Get the PO header of the current stream.

File

includes/gettext/PoMetadataInterface.php, line 46
Definition of Drupal\Component\Gettext\PoMetadataInterface.

Class

PoMetadataInterface
Methods required for both reader and writer implementations.

Code

public function getHeader();