You are here

PoReaderInterface.php in Localization update 7.2

File

includes/gettext/PoReaderInterface.php
View source
<?php

/**
 * @file
 * Definition of Drupal\Component\Gettext\PoReaderInterface.
 */

/**
 * Shared interface definition for all Gettext PO Readers.
 */
interface PoReaderInterface extends PoMetadataInterface {

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

}

Interfaces

Namesort descending Description
PoReaderInterface Shared interface definition for all Gettext PO Readers.