Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
lithium
security
auth
adapter
Http
set
lithium\security\auth\adapter\Http::set PHP Метод
Документация по классу Http
Показать файл
Открыть проект
set()
публичный
Метод
A pass-through method called by
Auth
. Returns the value of
$data
, which is written to a user's session. When implementing a custom adapter, this method may be used to modify or reject data before it is written to the session.
public
set
(
array
$data
,
array
$options
= [] ) :
array
$data
array
User data to be written to the session.
$options
array
Adapter-specific options. Not implemented in the `Form` adapter.
Результат
array
Returns the value of `$data`.
public function set($data, array $options = array()) { return $data; }
Http
__construct
_basic
_digest
_writeHeader
check
clear
set