addValue() protected method
Stores a value identified by a key into cache if the cache does not contain this key.
This method should be implemented by child classes to store the data in specific cache storage.
protected boolean addValue ( $key, $value, $expire ) | ||
---|---|---|
$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. |
$expire | ||
return | boolean |
True if the value is successfully stored into cache, false otherwise |
Please login to continue.