yii\web\CacheSession::calculateKey PHP Метод

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

Generates a unique key used for storing session data in cache.
protected calculateKey ( string $id ) : mixed
$id string session variable name
Результат mixed a safe cache key associated with the session variable name
    protected function calculateKey($id)
    {
        return [__CLASS__, $id];
    }