summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/SemanticMediaWiki/src/Importer/ContentIterator.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/wiki/extensions/SemanticMediaWiki/src/Importer/ContentIterator.php')
-rw-r--r--www/wiki/extensions/SemanticMediaWiki/src/Importer/ContentIterator.php29
1 files changed, 29 insertions, 0 deletions
diff --git a/www/wiki/extensions/SemanticMediaWiki/src/Importer/ContentIterator.php b/www/wiki/extensions/SemanticMediaWiki/src/Importer/ContentIterator.php
new file mode 100644
index 00000000..c0efb3c1
--- /dev/null
+++ b/www/wiki/extensions/SemanticMediaWiki/src/Importer/ContentIterator.php
@@ -0,0 +1,29 @@
+<?php
+
+namespace SMW\Importer;
+
+use IteratorAggregate;
+
+/**
+ * @license GNU GPL v2+
+ * @since 2.5
+ *
+ * @author mwjames
+ */
+interface ContentIterator extends IteratorAggregate {
+
+ /**
+ * @since 2.5
+ *
+ * @return string
+ */
+ public function getDescription();
+
+ /**
+ * @since 2.5
+ *
+ * @return array
+ */
+ public function getErrors();
+
+}