diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2019-07-16 11:22:33 -0100 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2019-07-16 11:22:33 -0100 |
commit | 8bafd67c1fe6d55502c1cc89427a9dfeaad548d3 (patch) | |
tree | c8d58e0f7b48138d6df887679784a56d4db12f74 /lib/public/FullTextSearch | |
parent | f877176fed9fdac40fa51fde994640f963ec9fb3 (diff) | |
download | nextcloud-server-8bafd67c1fe6d55502c1cc89427a9dfeaad548d3.tar.gz nextcloud-server-8bafd67c1fe6d55502c1cc89427a9dfeaad548d3.zip |
set and complete the searched string
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib/public/FullTextSearch')
-rw-r--r-- | lib/public/FullTextSearch/Model/ISearchRequest.php | 18 |
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). |