public function PoWriterInterface::writeItem in Service Container 7.2
Same name and namespace in other branches
- 7 lib/Drupal/Component/Gettext/PoWriterInterface.php \Drupal\Component\Gettext\PoWriterInterface::writeItem()
Writes the given item.
Parameters
PoItem $item: One specific item to write.
2 methods override PoWriterInterface::writeItem()
- PoMemoryWriter::writeItem in lib/
Drupal/ Component/ Gettext/ PoMemoryWriter.php - Writes the given item.
- PoStreamWriter::writeItem in lib/
Drupal/ Component/ Gettext/ PoStreamWriter.php - Writes the given item.
File
- lib/
Drupal/ Component/ Gettext/ PoWriterInterface.php, line 21 - Contains \Drupal\Component\Gettext\PoWriterInterface.
Class
- PoWriterInterface
- Shared interface definition for all Gettext PO Writers.
Namespace
Drupal\Component\GettextCode
public function writeItem(PoItem $item);