diff options
Diffstat (limited to 'application/bookmark/BookmarkServiceInterface.php')
-rw-r--r-- | application/bookmark/BookmarkServiceInterface.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/application/bookmark/BookmarkServiceInterface.php b/application/bookmark/BookmarkServiceInterface.php index 08cdbb4e..4b1f0daa 100644 --- a/application/bookmark/BookmarkServiceInterface.php +++ b/application/bookmark/BookmarkServiceInterface.php | |||
@@ -44,16 +44,18 @@ interface BookmarkServiceInterface | |||
44 | * @param bool $caseSensitive | 44 | * @param bool $caseSensitive |
45 | * @param bool $untaggedOnly | 45 | * @param bool $untaggedOnly |
46 | * @param bool $ignoreSticky | 46 | * @param bool $ignoreSticky |
47 | * @param array $pagination This array can contain the following keys for pagination: limit, offset. | ||
47 | * | 48 | * |
48 | * @return Bookmark[] | 49 | * @return SearchResult |
49 | */ | 50 | */ |
50 | public function search( | 51 | public function search( |
51 | array $request = [], | 52 | array $request = [], |
52 | string $visibility = null, | 53 | string $visibility = null, |
53 | bool $caseSensitive = false, | 54 | bool $caseSensitive = false, |
54 | bool $untaggedOnly = false, | 55 | bool $untaggedOnly = false, |
55 | bool $ignoreSticky = false | 56 | bool $ignoreSticky = false, |
56 | ); | 57 | array $pagination = [] |
58 | ): SearchResult; | ||
57 | 59 | ||
58 | /** | 60 | /** |
59 | * Get a single bookmark by its ID. | 61 | * Get a single bookmark by its ID. |