@@ -64,6 +64,8 @@ discard block |
||
64 | 64 | |
65 | 65 | /** |
66 | 66 | * Get all. |
67 | + * @param integer $offset |
|
68 | + * @param integer $limit |
|
67 | 69 | */ |
68 | 70 | public function getAll(ResourceNamespaceInterface $namespace, ?array $query = null, ?int $offset = null, ?int $limit = null, ?array $sort = null): Generator |
69 | 71 | { |
@@ -183,6 +185,8 @@ discard block |
||
183 | 185 | |
184 | 186 | /** |
185 | 187 | * Change stream. |
188 | + * @param integer $offset |
|
189 | + * @param integer $limit |
|
186 | 190 | */ |
187 | 191 | public function watch(ResourceNamespaceInterface $namespace, ?ObjectIdInterface $after = null, bool $existing = true, ?array $query = null, ?int $offset = null, ?int $limit = null, ?array $sort = null): Generator |
188 | 192 | { |
@@ -56,6 +56,8 @@ discard block |
||
56 | 56 | |
57 | 57 | /** |
58 | 58 | * Get resources. |
59 | + * @param integer $offset |
|
60 | + * @param integer $limit |
|
59 | 61 | */ |
60 | 62 | public function getAll(?array $query = null, ?int $offset = null, ?int $limit = null, ?array $sort = null): Generator |
61 | 63 | { |
@@ -124,6 +126,8 @@ discard block |
||
124 | 126 | |
125 | 127 | /** |
126 | 128 | * Change stream. |
129 | + * @param integer $offset |
|
130 | + * @param integer $limit |
|
127 | 131 | */ |
128 | 132 | public function watch(?ObjectIdInterface $after = null, bool $existing = true, ?array $query = null, ?int $offset = null, ?int $limit = null, ?array $sort = null): Generator |
129 | 133 | { |
@@ -157,6 +157,10 @@ discard block |
||
157 | 157 | }); |
158 | 158 | } |
159 | 159 | |
160 | + /** |
|
161 | + * @param integer $offset |
|
162 | + * @param integer $limit |
|
163 | + */ |
|
160 | 164 | public function getAll(ResourceNamespaceInterface $namespace, ?array $query = null, ?int $offset = null, ?int $limit = null, ?array $sort = null): Generator |
161 | 165 | { |
162 | 166 | $filter = [ |
@@ -296,6 +300,7 @@ discard block |
||
296 | 300 | |
297 | 301 | /** |
298 | 302 | * Change stream. |
303 | + * @param integer $query |
|
299 | 304 | */ |
300 | 305 | public function watch(ResourceNamespaceInterface $namespace, ?ObjectIdInterface $after = null, bool $existing = true, ?array $query = null, ?int $offset = null, ?int $limit = null, ?array $sort = null): Generator |
301 | 306 | { |
@@ -308,6 +313,7 @@ discard block |
||
308 | 313 | |
309 | 314 | /** |
310 | 315 | * Build. |
316 | + * @param DataObjectInterface $object |
|
311 | 317 | */ |
312 | 318 | public function build(array $resource, ?DataObjectInterface $object = null): DataObjectRelationInterface |
313 | 319 | { |
@@ -191,6 +191,7 @@ discard block |
||
191 | 191 | |
192 | 192 | /** |
193 | 193 | * Get all. |
194 | + * @param Closure $build |
|
194 | 195 | */ |
195 | 196 | public function getAllFrom(Collection $collection, ?array $query = null, ?int $offset = null, ?int $limit = null, ?array $sort = null, ?Closure $build = null): Generator |
196 | 197 | { |
@@ -217,6 +218,7 @@ discard block |
||
217 | 218 | |
218 | 219 | /** |
219 | 220 | * Change stream. |
221 | + * @param Closure $build |
|
220 | 222 | */ |
221 | 223 | public function watchFrom(Collection $collection, ?ObjectIdInterface $after = null, bool $existing = true, ?array $query = [], ?Closure $build = null, ?int $offset = null, ?int $limit = null, ?array $sort = null): Generator |
222 | 224 | { |