caching\MemCache setValues()

setValues() protected method

Stores multiple key-value pairs in cache.

protected array setValues ( $data, $duration )
$data array

Array where key corresponds to cache key while value is the value stored

$duration integer

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

return array

Array of failed keys. Always empty in case of using memcached.

doc_Yii
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.