You are here

public function PoWriterInterface::writeItems in Service Container 7.2

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

Writes all or the given amount of items.

Parameters

PoReaderInterface $reader: Reader to read PoItems from.

$count: Amount of items to read from $reader to write. If -1, all items are read from $reader.

2 methods override PoWriterInterface::writeItems()
PoMemoryWriter::writeItems in lib/Drupal/Component/Gettext/PoMemoryWriter.php
Writes all or the given amount of items.
PoStreamWriter::writeItems in lib/Drupal/Component/Gettext/PoStreamWriter.php
Writes all or the given amount of items.

File

lib/Drupal/Component/Gettext/PoWriterInterface.php, line 32
Contains \Drupal\Component\Gettext\PoWriterInterface.

Class

PoWriterInterface
Shared interface definition for all Gettext PO Writers.

Namespace

Drupal\Component\Gettext

Code

public function writeItems(PoReaderInterface $reader, $count = -1);