yii\web\CacheSession::calculateKey PHP Method

calculateKey() protected method

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