Big patch merging crawling+indexing into one command, new json document structure
[phinde.git] / src / phinde / Retrieved.php
diff --git a/src/phinde/Retrieved.php b/src/phinde/Retrieved.php
new file mode 100644 (file)
index 0000000..5812b71
--- /dev/null
@@ -0,0 +1,26 @@
+<?php
+namespace phinde;
+
+/**
+ * Information retrieved by Fetcher
+ */
+class Retrieved
+{
+    /**
+     * @var \HTTP_Request2_Response
+     */
+    public $httpRes;
+
+    /**
+     * Existing elasticsearch document
+     *
+     * @var object
+     */
+    public $esDoc;
+
+    /**
+     * URL of document
+     */
+    public $url;
+}
+?>