setValue() protected method
Stores a value identified by a key in cache. This is the implementation of the method declared in the parent class.
protected boolean setValue ( $key, $value, $duration )$key string
The key identifying the value to be cached $value mixed
The value to be cached. Most often it's a string. If you have disabled $serializer, it could be something else. $duration integer
The number of seconds in which the cached value will expire. 0 means never expire. return b