interface for KV driver which support 'time to live' on values useful to use the driver as a cache storage
| package |
jelix |
|---|
garbage() : boolean
booleanfalse if failure
setWithTtl(string $key, string $value, integer $ttl) : boolean
stringthe key
stringthe value
integerthe time to live in seconds...
booleanfalse if failure, if the value is a resource...