diff options
-rw-r--r-- | lib/Model/IndexDocument.php | 21 |
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 |