yii\caching\WinCache::setValues PHP Method

setValues() protected method

Stores multiple key-value pairs in cache.
protected setValues ( array $data, integer $duration ) : array
$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
    protected function setValues($data, $duration)
    {
        return wincache_ucache_set($data, null, $duration);
    }