Merge pull request #16422 from nextcloud/feature/noid/complement-search-string-inrequest-

set and complete the searched string
This commit is contained in:
Roeland Jago Douma 2019-07-16 22:13:42 +02:00 committed by GitHub
commit 79eb5de0be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 22 additions and 0 deletions

View File

@ -91,6 +91,28 @@ interface ISearchRequest {
*/
public function getSearch(): string;
/**
* Set the searched string.
*
* @param string $search
*
* @since 17.0.0
*
* @return ISearchRequest
*/
public function setSearch(string $search): ISearchRequest;
/**
* Extends the searched string.
*
* @since 17.0.0
*
* @param string $search
*
* @return ISearchRequest
*/
public function addSearch(string $search): ISearchRequest;
/**
* Get the value of an option (as string).