aboutsummaryrefslogtreecommitdiff
path: root/src/phinde/Retrieved.php
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2016-11-07 21:41:36 +0100
committerChristian Weiske <cweiske@cweiske.de>2016-11-07 21:41:36 +0100
commitd7651fd96dcfa2829519504e4c8ec1ce511cd57f (patch)
treee24d7a9f90060b0fee5a652de43bd0627f1c5bde /src/phinde/Retrieved.php
parentf90790c6b2a54c9b1c8a0aeaf1f23e6aa67d7aca (diff)
downloadphinde-d7651fd96dcfa2829519504e4c8ec1ce511cd57f.tar.gz
phinde-d7651fd96dcfa2829519504e4c8ec1ce511cd57f.zip
Big patch merging crawling+indexing into one command, new json document structure
Diffstat (limited to 'src/phinde/Retrieved.php')
-rw-r--r--src/phinde/Retrieved.php26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/phinde/Retrieved.php b/src/phinde/Retrieved.php
new file mode 100644
index 0000000..5812b71
--- /dev/null
+++ b/src/phinde/Retrieved.php
@@ -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;
+}
+?>