You are here

public function PoStreamReader::getHeader in Drupal 9

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

Get header metadata.

Return value

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

Overrides PoMetadataInterface::getHeader

File

core/lib/Drupal/Component/Gettext/PoStreamReader.php, line 117

Class

PoStreamReader
Implements Gettext PO stream reader.

Namespace

Drupal\Component\Gettext

Code

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