Skip to content

Commit 8b729cb

Browse files
committed
Updated docs for #433
1 parent 2f3d585 commit 8b729cb

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

docs/EVENTS.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@
2020
* Allow you to get the "expire after" time of an item. If `$time` is a DateInterval you also set it.
2121
* onCacheWriteFileOnDisk
2222
* Allow you to get notified when a file is written on disk.
23+
* onCacheGetItemInSlamBatch
24+
* Allow you to get notified each time a batch loop is looping
2325

2426
This is an exhaustive list and it will be updated as soon as new events will be added to the Core.
2527
More details on the
26-
[WIKI](https://github.com/PHPSocialNetwork/phpfastcache/wiki/%5BV6%5D-Introducing-to-events).
28+
[WIKI](https://github.com/PHPSocialNetwork/phpfastcache/wiki/%5BV6%CB%96%5D-Introducing-to-events).

src/phpFastCache/EventManager.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
* @method Void onCacheCommitItem() onCacheCommitItem(Callable $callable)
2828
* @method Void onCacheClearItem() onCacheClearItem(Callable $callable)
2929
* @method Void onCacheWriteFileOnDisk() onCacheWriteFileOnDisk(Callable $callable)
30+
* @method Void onCacheGetItemInSlamBatch() onCacheGetItemInSlamBatch(Callable $callable)
3031
*
3132
* == Item Events ==
3233
* @method Void onCacheItemSet() onCacheItemSet(Callable $callable)

0 commit comments

Comments
 (0)