Skip to content

Commit 2d9d5cf

Browse files
committed
Removed useless information on api in readme.md
1 parent 1e36434 commit 2d9d5cf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,12 @@ phpFastCache offers you a lot of useful APIs:
7676
- getTagsAsString($separator = ', ') // Get the data a string separated by $separator
7777
- removeTag($tagName) // Remove a tag
7878
- removeTags(array $tagNames) // Remove some tags
79-
- getDataAsJsonString($option = 0, $depth = 512)// Return the data as a well-formatted json string
79+
- getDataAsJsonString()// Return the data as a well-formatted json string
8080

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
84+
- getItemsAsJsonString(array $keys) // Returns A json string that represents an array of items
8585
- hasItem($key) // Tests if an item exists
8686
- deleteItem($key) // Delete an item
8787
- deleteItems(array $keys) // Delete one or more items
@@ -92,7 +92,7 @@ phpFastCache offers you a lot of useful APIs:
9292
- stats() // Return the cache statistics as an object, useful for checking disk space used by the cache etc.
9393
- getItemsByTag($tagName) // Return items by a tag
9494
- 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
95+
- getItemsByTagsAsJsonString(array $tagNames) // Returns A json string that represents an array of items by tags-based
9696
- deleteItemsByTag($tagName) // Delete items by a tag
9797
- deleteItemsByTags(array $tagNames) // Delete items by some tags
9898
- incrementItemsByTag($tagName, $step = 1) // Increment items by a tag

0 commit comments

Comments
 (0)