yii\caching\WinCache::addValues PHP Method

addValues() protected method

The default implementation calls WinCache::addValue multiple times add values one by one. If the underlying cache storage supports multiadd, this method should be overridden to exploit that feature.
protected addValues ( 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 addValues($data, $duration)
    {
        return wincache_ucache_add($data, null, $duration);
    }