caching\FileCache setValue()

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 string

The value to be cached. Other types (If you have disabled $serializer) unable to get is correct in getValue().

$duration integer

The number of seconds in which the cached value will expire. 0 means never expire.

return boolean

True if the value is successfully stored into cache, false otherwise

doc_Yii
2016-10-30 16:54:07
Comments
Leave a Comment

Please login to continue.