summaryrefslogtreecommitdiffstats
path: root/lib/public/FullTextSearch
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/FullTextSearch')
-rw-r--r--lib/public/FullTextSearch/Model/ISearchRequest.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/public/FullTextSearch/Model/ISearchRequest.php b/lib/public/FullTextSearch/Model/ISearchRequest.php
index c7e96913018..2aafebdf40e 100644
--- a/lib/public/FullTextSearch/Model/ISearchRequest.php
+++ b/lib/public/FullTextSearch/Model/ISearchRequest.php
@@ -91,6 +91,24 @@ interface ISearchRequest {
*/
public function getSearch(): string;
+ /**
+ * Set the searched string.
+ *
+ * @since 17.0.0
+ *
+ * @return ISearchRequest
+ */
+ public function setSearch(string $search): ISearchRequest;
+
+ /**
+ * Complete the searched string.
+ *
+ * @since 17.0.0
+ *
+ * @return ISearchRequest
+ */
+ public function addSearch(string $search): ISearchRequest;
+
/**
* Get the value of an option (as string).