delete()
delete(string $key) : boolean
Delete a value from the cache
Parameters
string | $key |
Returns
boolean —true on success
set(string $key, mixed $value, integer $expire) : boolean
Store a value in the cache $expire is specified as an integer: - less than or equal to 2592000 (the number of seconds in 30 days) will be considered an expire time of that many seconds from the current timestamp - Greater than that amount will be considered as literal Unix timestamp values - 0 means "never expire."
string | $key | |
mixed | $value | |
integer | $expire |
true on success