You are here

interface PoReaderInterface in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Component/Gettext/PoReaderInterface.php \Drupal\Component\Gettext\PoReaderInterface
  2. 9 core/lib/Drupal/Component/Gettext/PoReaderInterface.php \Drupal\Component\Gettext\PoReaderInterface

Shared interface definition for all Gettext PO Readers.

Hierarchy

  • interface \Drupal\Component\Gettext\PoReaderInterface extends \Drupal\Component\Gettext\PoMetadataInterface

Expanded class hierarchy of PoReaderInterface

All classes that implement PoReaderInterface

2 files declare their use of PoReaderInterface
PoDatabaseReader.php in core/modules/locale/src/PoDatabaseReader.php
PoDatabaseWriter.php in core/modules/locale/src/PoDatabaseWriter.php

File

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

Namespace

Drupal\Component\Gettext
View source
interface PoReaderInterface extends PoMetadataInterface {

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

}

Members