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/Index.php')
-rw-r--r--lib/Model/Index.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/Model/Index.php b/lib/Model/Index.php
index cb8478d..739d4a1 100644
--- a/lib/Model/Index.php
+++ b/lib/Model/Index.php
@@ -56,6 +56,9 @@ class Index implements \JsonSerializable {
/** @var int */
private $status = 0;
+ /** @var array */
+ private $options = [];
+
/** @var int */
private $err = 0;
@@ -151,6 +154,25 @@ class Index implements \JsonSerializable {
/**
+ * @param array $options
+ *
+ * @return $this
+ */
+ public function setOptions($options) {
+ $this->options = $options;
+
+ return $this;
+ }
+
+ /**
+ * @return array
+ */
+ public function getOptions() {
+ return $this->options;
+ }
+
+
+ /**
* @param int $err
*
* @return $this