interface PoWriterInterface

Shared interface definition for all Gettext PO Writers.

Hierarchy

File

core/lib/Drupal/Component/Gettext/PoWriterInterface.php, line 8

Namespace

Drupal\Component\Gettext

Members

Name Modifiers Type Description
PoMetadataInterface::getHeader public function Get header metadata.
PoMetadataInterface::getLangcode public function Get language code.
PoMetadataInterface::setHeader public function Set header metadata.
PoMetadataInterface::setLangcode public function Set language code.
PoWriterInterface::writeItem public function Writes the given item.
PoWriterInterface::writeItems public function Writes all or the given amount of items.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Component!Gettext!PoWriterInterface.php/interface/PoWriterInterface/8.1.x