PoReaderInterface.php 364 B

123456789101112131415161718
  1. <?php
  2. namespace Drupal\Component\Gettext;
  3. /**
  4. * Shared interface definition for all Gettext PO Readers.
  5. */
  6. interface PoReaderInterface extends PoMetadataInterface {
  7. /**
  8. * Reads and returns a PoItem (source/translation pair).
  9. *
  10. * @return \Drupal\Component\Gettext\PoItem
  11. * Wrapper for item data instance.
  12. */
  13. public function readItem();
  14. }