summaryrefslogtreecommitdiffstats
path: root/core/lib/Drupal/Component/Gettext/PoReaderInterface.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/lib/Drupal/Component/Gettext/PoReaderInterface.php')
-rw-r--r--core/lib/Drupal/Component/Gettext/PoReaderInterface.php24
1 files changed, 24 insertions, 0 deletions
diff --git a/core/lib/Drupal/Component/Gettext/PoReaderInterface.php b/core/lib/Drupal/Component/Gettext/PoReaderInterface.php
new file mode 100644
index 0000000..e9c0125
--- /dev/null
+++ b/core/lib/Drupal/Component/Gettext/PoReaderInterface.php
@@ -0,0 +1,24 @@
+<?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();
+}