PHP Интерфейс yii\authclient\StateStorageInterface
Herein 'state' means a named variable, which is persistent between different requests.
Note: in order to function correctly state storage should vary depending on application session,
e.g. different web users should not share state with the same name.
Показать файл
Открыть проект
Открытые методы
Описание методов
If the variable does not exist, the $defaultValue will be returned.
public get ( string $key ) : mixed |
$key |
string |
the variable name |
Результат |
mixed |
the variable value, or `null` if the variable does not exist. |
Removes a state variable.
If the specified name already exists, the old value will be overwritten.