yii\filters\PageCache::calculateCacheKey PHP Метод

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

С версии: 2.0.3
protected calculateCacheKey ( ) : array
Результат array the key used to cache response properties.
    protected function calculateCacheKey()
    {
        $key = [__CLASS__];
        if ($this->varyByRoute) {
            $key[] = Yii::$app->requestedRoute;
        }
        if (is_array($this->variations)) {
            foreach ($this->variations as $value) {
                $key[] = $value;
            }
        }
        return $key;
    }