PoReaderInterface.php

Definition of Drupal\Component\Gettext\PoReaderInterface.

Namespace

Drupal\Component\Gettext

File

drupal/core/lib/Drupal/Component/Gettext/PoReaderInterface.php
View source
<?php

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

use Drupal\Component\Gettext\PoMetadataInterface;

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

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

}

Interfaces

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