21
21
use Psr \Cache \CacheItemInterface ;
22
22
use Psr \Cache \CacheItemPoolInterface ;
23
23
use phpFastCache \Exceptions \phpFastCacheLogicException ;
24
+ use phpFastCache \Exceptions \phpFastCacheInvalidArgumentException ;
24
25
25
26
/**
26
27
* Interface ExtendedCacheItemPoolInterface
@@ -76,8 +77,8 @@ public function getDriverName();
76
77
* @param string $key
77
78
* The key for which to return the corresponding Cache Item.
78
79
*
79
- * @throws InvalidArgumentException
80
- * If the $key string is not a legal value a \Psr\Cache\InvalidArgumentException
80
+ * @throws phpFastCacheInvalidArgumentException
81
+ * If the $key string is not a legal value a phpFastCacheInvalidArgumentException
81
82
* MUST be thrown.
82
83
*
83
84
* @return ExtendedCacheItemInterface
@@ -93,7 +94,7 @@ public function getItem($key);
93
94
* An indexed array of keys of items to retrieve.
94
95
*
95
96
* @throws InvalidArgumentException
96
- * If any of the keys in $keys are not a legal value a \Psr\Cache\InvalidArgumentException
97
+ * If any of the keys in $keys are not a legal value a phpFastCacheInvalidArgumentException
97
98
* MUST be thrown.
98
99
*
99
100
* @return ExtendedCacheItemInterface[]
@@ -113,7 +114,7 @@ public function getItems(array $keys = []);
113
114
* @param int $depth json_encode() depth
114
115
*
115
116
* @throws InvalidArgumentException
116
- * If any of the keys in $keys are not a legal value a \Psr\Cache\InvalidArgumentException
117
+ * If any of the keys in $keys are not a legal value a phpFastCacheInvalidArgumentException
117
118
* MUST be thrown.
118
119
*
119
120
* @return string
@@ -147,7 +148,7 @@ public function getHelp();
147
148
* An indexed array of keys of items to retrieve.
148
149
*
149
150
* @throws InvalidArgumentException
150
- * If any of the keys in $keys are not a legal value a \Psr\Cache\InvalidArgumentException
151
+ * If any of the keys in $keys are not a legal value a phpFastCacheInvalidArgumentException
151
152
* MUST be thrown.
152
153
*
153
154
* @return ExtendedCacheItemInterface[]
@@ -165,7 +166,7 @@ public function getItemsByTag($tagName);
165
166
* An indexed array of keys of items to retrieve.
166
167
*
167
168
* @throws InvalidArgumentException
168
- * If any of the keys in $keys are not a legal value a \Psr\Cache\InvalidArgumentException
169
+ * If any of the keys in $keys are not a legal value a phpFastCacheInvalidArgumentException
169
170
* MUST be thrown.
170
171
*
171
172
* @return ExtendedCacheItemInterface[]
@@ -183,7 +184,7 @@ public function getItemsByTags(array $tagNames);
183
184
* An indexed array of keys of items to retrieve.
184
185
*
185
186
* @throws InvalidArgumentException
186
- * If any of the keys in $keys are not a legal value a \Psr\Cache\InvalidArgumentException
187
+ * If any of the keys in $keys are not a legal value a phpFastCacheInvalidArgumentException
187
188
* MUST be thrown.
188
189
*
189
190
* @return ExtendedCacheItemInterface[]
@@ -203,7 +204,7 @@ public function getItemsByTagsAll(array $tagNames);
203
204
* @param int $depth json_encode() depth
204
205
*
205
206
* @throws InvalidArgumentException
206
- * If any of the keys in $keys are not a legal value a \Psr\Cache\InvalidArgumentException
207
+ * If any of the keys in $keys are not a legal value a phpFastCacheInvalidArgumentException
207
208
* MUST be thrown.
208
209
*
209
210
* @return string
@@ -217,7 +218,7 @@ public function getItemsByTagsAsJsonString(array $tagNames, $option = 0, $depth
217
218
* The tag for which to delete
218
219
*
219
220
* @throws InvalidArgumentException
220
- * If the $key string is not a legal value a \Psr\Cache\InvalidArgumentException
221
+ * If the $key string is not a legal value a phpFastCacheInvalidArgumentException
221
222
* MUST be thrown.
222
223
*
223
224
* @return bool
@@ -232,7 +233,7 @@ public function deleteItemsByTag($tagName);
232
233
* The tag for which to delete
233
234
*
234
235
* @throws InvalidArgumentException
235
- * If the $key string is not a legal value a \Psr\Cache\InvalidArgumentException
236
+ * If the $key string is not a legal value a phpFastCacheInvalidArgumentException
236
237
* MUST be thrown.
237
238
*
238
239
* @return bool
@@ -247,7 +248,7 @@ public function deleteItemsByTags(array $tagNames);
247
248
* An indexed array of keys of items to retrieve.
248
249
*
249
250
* @throws InvalidArgumentException
250
- * If any of the keys in $keys are not a legal value a \Psr\Cache\InvalidArgumentException
251
+ * If any of the keys in $keys are not a legal value a phpFastCacheInvalidArgumentException
251
252
* MUST be thrown.
252
253
*
253
254
* @return bool
@@ -264,7 +265,7 @@ public function deleteItemsByTagsAll(array $tagNames);
264
265
* @param int $step
265
266
*
266
267
* @throws InvalidArgumentException
267
- * If the $key string is not a legal value a \Psr\Cache\InvalidArgumentException
268
+ * If the $key string is not a legal value a phpFastCacheInvalidArgumentException
268
269
* MUST be thrown.
269
270
*
270
271
* @return bool
@@ -281,7 +282,7 @@ public function incrementItemsByTag($tagName, $step = 1);
281
282
* @param int $step
282
283
*
283
284
* @throws InvalidArgumentException
284
- * If the $key string is not a legal value a \Psr\Cache\InvalidArgumentException
285
+ * If the $key string is not a legal value a phpFastCacheInvalidArgumentException
285
286
* MUST be thrown.
286
287
*
287
288
* @return bool
@@ -298,7 +299,7 @@ public function incrementItemsByTags(array $tagNames, $step = 1);
298
299
* @param int $step
299
300
*
300
301
* @throws InvalidArgumentException
301
- * If the $key string is not a legal value a \Psr\Cache\InvalidArgumentException
302
+ * If the $key string is not a legal value a phpFastCacheInvalidArgumentException
302
303
* MUST be thrown.
303
304
*
304
305
* @return bool
@@ -315,7 +316,7 @@ public function incrementItemsByTagsAll(array $tagNames, $step = 1);
315
316
* @param int $step
316
317
*
317
318
* @throws InvalidArgumentException
318
- * If the $key string is not a legal value a \Psr\Cache\InvalidArgumentException
319
+ * If the $key string is not a legal value a phpFastCacheInvalidArgumentException
319
320
* MUST be thrown.
320
321
*
321
322
* @return bool
@@ -332,7 +333,7 @@ public function decrementItemsByTag($tagName, $step = 1);
332
333
* @param int $step
333
334
*
334
335
* @throws InvalidArgumentException
335
- * If the $key string is not a legal value a \Psr\Cache\InvalidArgumentException
336
+ * If the $key string is not a legal value a phpFastCacheInvalidArgumentException
336
337
* MUST be thrown.
337
338
*
338
339
* @return bool
@@ -349,7 +350,7 @@ public function decrementItemsByTags(array $tagNames, $step = 1);
349
350
* @param int $step
350
351
*
351
352
* @throws InvalidArgumentException
352
- * If the $key string is not a legal value a \Psr\Cache\InvalidArgumentException
353
+ * If the $key string is not a legal value a phpFastCacheInvalidArgumentException
353
354
* MUST be thrown.
354
355
*
355
356
* @return bool
@@ -366,7 +367,7 @@ public function decrementItemsByTagsAll(array $tagNames, $step = 1);
366
367
* @param array|string $data
367
368
*
368
369
* @throws InvalidArgumentException
369
- * If the $key string is not a legal value a \Psr\Cache\InvalidArgumentException
370
+ * If the $key string is not a legal value a phpFastCacheInvalidArgumentException
370
371
* MUST be thrown.
371
372
*
372
373
* @return bool
@@ -383,7 +384,7 @@ public function appendItemsByTag($tagName, $data);
383
384
* @param array|string $data
384
385
*
385
386
* @throws InvalidArgumentException
386
- * If the $key string is not a legal value a \Psr\Cache\InvalidArgumentException
387
+ * If the $key string is not a legal value a phpFastCacheInvalidArgumentException
387
388
* MUST be thrown.
388
389
*
389
390
* @return bool
@@ -400,7 +401,7 @@ public function appendItemsByTags(array $tagNames, $data);
400
401
* @param array|string $data
401
402
*
402
403
* @throws InvalidArgumentException
403
- * If the $key string is not a legal value a \Psr\Cache\InvalidArgumentException
404
+ * If the $key string is not a legal value a phpFastCacheInvalidArgumentException
404
405
* MUST be thrown.
405
406
*
406
407
* @return bool
@@ -417,7 +418,7 @@ public function appendItemsByTagsAll(array $tagNames, $data);
417
418
* @param array|string $data
418
419
*
419
420
* @throws InvalidArgumentException
420
- * If the $key string is not a legal value a \Psr\Cache\InvalidArgumentException
421
+ * If the $key string is not a legal value a phpFastCacheInvalidArgumentException
421
422
* MUST be thrown.
422
423
*
423
424
* @return bool
@@ -434,7 +435,7 @@ public function prependItemsByTag($tagName, $data);
434
435
* @param array|string $data
435
436
*
436
437
* @throws InvalidArgumentException
437
- * If the $key string is not a legal value a \Psr\Cache\InvalidArgumentException
438
+ * If the $key string is not a legal value a phpFastCacheInvalidArgumentException
438
439
* MUST be thrown.
439
440
*
440
441
* @return bool
@@ -451,7 +452,7 @@ public function prependItemsByTags(array $tagNames, $data);
451
452
* @param array|string $data
452
453
*
453
454
* @throws InvalidArgumentException
454
- * If the $key string is not a legal value a \Psr\Cache\InvalidArgumentException
455
+ * If the $key string is not a legal value a phpFastCacheInvalidArgumentException
455
456
* MUST be thrown.
456
457
*
457
458
* @return bool
0 commit comments