Skip to content

Commit eec8db6

Browse files
authored
Merge pull request #510 from Geolim4/final
Fixed little typo in readme
2 parents da31c4e + 3178a3b commit eec8db6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ phpFastCache offers you a lot of useful APIs:
6565
### Item API
6666
- getKey() // Returns the item identifier (key)
6767
- get() // The getter, obviously, returns your cache object
68-
- set($value) // The setter, for those who missed it, putting 0 means cache it forever
68+
- set($value) // The setter, for those who missed it, can be anything except resources or non-serializer object (ex: PDO objects, file pointers, etc).
6969
- expiresAfter($ttl) // Allows you to extends the lifetime of an entry without altering its value (formerly known as touch())
7070
- expiresAt($expiration) // Sets the expiration time for this cache item (as a DateTimeInterface object)
7171
- increment($step = 1) // To allow us to count on an integer item

0 commit comments

Comments
 (0)