yii\caching\ApcCache::setValues PHP Метод

setValues() защищенный Метод

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
$duration integer the number of seconds in which the cached values will expire. 0 means never expire.
Результат array array of failed keys
    protected function setValues($data, $duration)
    {
        $result = $this->useApcu ? apcu_store($data, null, $duration) : apc_store($data, null, $duration);
        return is_array($result) ? array_keys($result) : [];
    }