We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents da31c4e + 3178a3b commit eec8db6Copy full SHA for eec8db6
README.md
@@ -65,7 +65,7 @@ phpFastCache offers you a lot of useful APIs:
65
### Item API
66
- getKey() // Returns the item identifier (key)
67
- get() // The getter, obviously, returns your cache object
68
-- set($value) // The setter, for those who missed it, putting 0 means cache it forever
+- set($value) // The setter, for those who missed it, can be anything except resources or non-serializer object (ex: PDO objects, file pointers, etc).
69
- expiresAfter($ttl) // Allows you to extends the lifetime of an entry without altering its value (formerly known as touch())
70
- expiresAt($expiration) // Sets the expiration time for this cache item (as a DateTimeInterface object)
71
- increment($step = 1) // To allow us to count on an integer item
0 commit comments