PHP Класс yii\authclient\SessionStateStorage

См. также: StateStorageInterface
См. также: Session
С версии: 2.1
Автор: Paul Klimov ([email protected])
Наследование: extends yii\base\Component, implements yii\authclient\StateStorageInterface
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$session session object or the application component ID of the session object to be used. After the SessionStateStorage object is created, if you want to change this property, you should only assign it with a session object. If not set - application 'session' component will be used, but only, if it is available (e.g. in web application), otherwise - no session will be used and no data saving will be performed.

Открытые методы

Метод Описание
get ( $key )
init ( )
remove ( $key )
set ( $key, $value )

Описание методов

get() публичный метод

public get ( $key )

init() публичный метод

public init ( )

remove() публичный метод

public remove ( $key )

set() публичный метод

public set ( $key, $value )

Описание свойств

$session публичное свойство

session object or the application component ID of the session object to be used. After the SessionStateStorage object is created, if you want to change this property, you should only assign it with a session object. If not set - application 'session' component will be used, but only, if it is available (e.g. in web application), otherwise - no session will be used and no data saving will be performed.
public $session