redis\Cache setValues()

setValues() protected method

Stores multiple key-value pairs in cache.

The default implementation calls setValue() multiple times store values one by one. If the underlying cache storage supports multi-set, this method should be overridden to exploit that feature.

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

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

$expire
return array

Array of failed keys

doc_Yii
2016-10-30 17:10:45
Comments
Leave a Comment

Please login to continue.