Skip to content

Commit 1e36434

Browse files
committed
Completed readme.md with missing API methods
1 parent 4cee49d commit 1e36434

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ phpFastCache offers you a lot of useful APIs:
8181
### ItemPool API
8282
- getItem($key) // Retrieve an item and returns an empty item if not found
8383
- getItems(array $keys) // Retrieve one or more item and returns an array of items
84+
- getItemsAsJsonString(array $keys = [], $option = 0, $depth = 512) // Returns A json string that represents an array of items
8485
- hasItem($key) // Tests if an item exists
8586
- deleteItem($key) // Delete an item
8687
- deleteItems(array $keys) // Delete one or more items
@@ -91,6 +92,7 @@ phpFastCache offers you a lot of useful APIs:
9192
- stats() // Return the cache statistics as an object, useful for checking disk space used by the cache etc.
9293
- getItemsByTag($tagName) // Return items by a tag
9394
- getItemsByTags(array $tagNames) // Return items by some tags
95+
- getItemsByTagsAsJsonString(array $tagNames, $option = 0, $depth = 512) // Returns A json string that represents an array of items by tags-based
9496
- deleteItemsByTag($tagName) // Delete items by a tag
9597
- deleteItemsByTags(array $tagNames) // Delete items by some tags
9698
- incrementItemsByTag($tagName, $step = 1) // Increment items by a tag

0 commit comments

Comments
 (0)