diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2018-04-09 13:02:54 +0300 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2018-04-09 13:02:54 +0300 |
commit | 733b219bce6a8fd3a188184c07744d820adde23e (patch) | |
tree | f2201753a42a8e02f0a1072679f4886a350df1ad /lib/Model | |
parent | f19364776c5827ca7fd18c500355d5d520f9d1a1 (diff) |
save used options during index
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib/Model')
-rw-r--r-- | lib/Model/Index.php | 22 |
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 |