yii\caching\Cache::getValues PHP Метод

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

The default implementation calls Cache::getValue multiple times to retrieve the cached values one by one. If the underlying cache storage supports multiget, this method should be overridden to exploit that feature.
protected getValues ( array $keys ) : array
$keys array a list of keys identifying the cached values
Результат array a list of cached values indexed by the keys
    protected function getValues($keys)
    {
        $results = [];
        foreach ($keys as $key) {
            $results[$key] = $this->getValue($key);
        }
        return $results;
    }