You are here

interface PoReaderInterface in Localization update 7.2

Shared interface definition for all Gettext PO Readers.

Hierarchy

Expanded class hierarchy of PoReaderInterface

All classes that implement PoReaderInterface

File

includes/gettext/PoReaderInterface.php, line 11
Definition of Drupal\Component\Gettext\PoReaderInterface.

View source
interface PoReaderInterface extends PoMetadataInterface {

  /**
   * Reads and returns a PoItem (source/translation pair).
   *
   * @return PoItem
   *   Wrapper for item data instance.
   */
  public function readItem();

}

Members

Namesort descending Modifiers Type Description Overrides
PoMetadataInterface::getHeader public function Get header metadata. 5
PoMetadataInterface::getLangcode public function Get language code. 5
PoMetadataInterface::setHeader public function Set header metadata. 5
PoMetadataInterface::setLangcode public function Set language code. 5
PoReaderInterface::readItem public function Reads and returns a PoItem (source/translation pair). 2