You are here

private function PoStreamWriter::writeHeader in Service Container 7

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

Write the PO header to the stream.

1 call to PoStreamWriter::writeHeader()
PoStreamWriter::open in lib/Drupal/Component/Gettext/PoStreamWriter.php
Open the stream. Set the URI for the stream earlier with setURI().

File

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

Class

PoStreamWriter
Defines a Gettext PO stream writer.

Namespace

Drupal\Component\Gettext

Code

private function writeHeader() {
  $this
    ->write($this->_header);
}