File tree Expand file tree Collapse file tree 1 file changed +5
-19
lines changed Expand file tree Collapse file tree 1 file changed +5
-19
lines changed Original file line number Diff line number Diff line change @@ -268,11 +268,7 @@ protected function generateKey($key)
268
268
269
269
270
270
/**
271
- * Inserts (replaces) item into the cache (\ArrayAccess implementation).
272
- * @param mixed key
273
- * @param mixed
274
- * @return void
275
- * @throws Nette\InvalidArgumentException
271
+ * @deprecated
276
272
*/
277
273
public function offsetSet ($ key , $ data )
278
274
{
@@ -281,10 +277,7 @@ public function offsetSet($key, $data)
281
277
282
278
283
279
/**
284
- * Retrieves the specified item from the cache or NULL if the key is not found (\ArrayAccess implementation).
285
- * @param mixed key
286
- * @return mixed|NULL
287
- * @throws Nette\InvalidArgumentException
280
+ * @deprecated
288
281
*/
289
282
public function offsetGet ($ key )
290
283
{
@@ -298,10 +291,7 @@ public function offsetGet($key)
298
291
299
292
300
293
/**
301
- * Exists item in cache? (\ArrayAccess implementation).
302
- * @param mixed key
303
- * @return bool
304
- * @throws Nette\InvalidArgumentException
294
+ * @deprecated
305
295
*/
306
296
public function offsetExists ($ key )
307
297
{
@@ -311,10 +301,7 @@ public function offsetExists($key)
311
301
312
302
313
303
/**
314
- * Removes the specified item from the cache.
315
- * @param mixed key
316
- * @return void
317
- * @throws Nette\InvalidArgumentException
304
+ * @deprecated
318
305
*/
319
306
public function offsetUnset ($ key )
320
307
{
@@ -323,8 +310,7 @@ public function offsetUnset($key)
323
310
324
311
325
312
/**
326
- * Discards the internal cache used by ArrayAccess.
327
- * @return void
313
+ * @deprecated
328
314
*/
329
315
public function release ()
330
316
{
You can’t perform that action at this time.
0 commit comments