diff options
Diffstat (limited to 'lib/public/Files/Search/ISearchQuery.php')
-rw-r--r-- | lib/public/Files/Search/ISearchQuery.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/public/Files/Search/ISearchQuery.php b/lib/public/Files/Search/ISearchQuery.php index 5a701b321b1..531e285a593 100644 --- a/lib/public/Files/Search/ISearchQuery.php +++ b/lib/public/Files/Search/ISearchQuery.php @@ -21,6 +21,8 @@ namespace OCP\Files\Search; +use OCP\IUser; + /** * @since 12.0.0 */ @@ -54,4 +56,12 @@ interface ISearchQuery { * @since 12.0.0 */ public function getOrder(); + + /** + * The user that issued the search + * + * @return IUser + * @since 12.0.0 + */ + public function getUser(); } |