Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/fulltextsearch.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Model/IndexDocument.php')
-rw-r--r--lib/Model/IndexDocument.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/Model/IndexDocument.php b/lib/Model/IndexDocument.php
index a1c6e06..ab442d3 100644
--- a/lib/Model/IndexDocument.php
+++ b/lib/Model/IndexDocument.php
@@ -50,6 +50,9 @@ class IndexDocument implements \JsonSerializable {
private $tags = [];
/** @var string */
+ private $source;
+
+ /** @var string */
private $title;
/** @var string */
@@ -208,6 +211,24 @@ class IndexDocument implements \JsonSerializable {
return $this;
}
+ /**
+ * @return string
+ */
+ public function getSource() {
+ return $this->source;
+ }
+
+ /**
+ * @param string $source
+ *
+ * @return $this
+ */
+ public function setSource($source) {
+ $this->source = $source;
+
+ return $this;
+ }
+
/**
* @param string $title