set and complete the searched string

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
This commit is contained in:
Maxence Lange 2019-07-16 11:22:33 -01:00
parent f877176fed
commit 8bafd67c1f
1 changed files with 18 additions and 0 deletions

View File

@ -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).