yii\redis\Session::calculateKey PHP Метод

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

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