Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
yii
web
CacheSession
calculateKey
yii\web\CacheSession::calculateKey PHP Method
CacheSession Class Documentation
Datei anzeigen
Open project: yiisoft/yii2
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]; }
CacheSession
calculateKey
destroySession
getUseCustomStorage
init
readSession
writeSession