function PoStreamReader::setHeader

Same name in other branches
  1. 8.9.x core/lib/Drupal/Component/Gettext/PoStreamReader.php \Drupal\Component\Gettext\PoStreamReader::setHeader()
  2. 10 core/lib/Drupal/Component/Gettext/PoStreamReader.php \Drupal\Component\Gettext\PoStreamReader::setHeader()
  3. 11.x core/lib/Drupal/Component/Gettext/PoStreamReader.php \Drupal\Component\Gettext\PoStreamReader::setHeader()

Implements Drupal\Component\Gettext\PoMetadataInterface::setHeader().

Not applicable to stream reading and therefore not implemented.

Overrides PoMetadataInterface::setHeader

File

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

Class

PoStreamReader
Implements Gettext PO stream reader.

Namespace

Drupal\Component\Gettext

Code

public function setHeader(PoHeader $header) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.