Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Symfony
Component
Security
Core
Authentication
Token
AbstractToken
setAttribute
Symfony\Component\Security\Core\Authentication\Token\AbstractToken::setAttribute PHP Метод
Документация по классу AbstractToken
Показать файл
Открыть проект
setAttribute()
публичный
Метод
Sets an attribute.
public
setAttribute
(
string
$name
,
mixed
$value
)
$name
string
The attribute name
$value
mixed
The attribute value
public function setAttribute($name, $value) { $this->attributes[$name] = $value; }
AbstractToken
__construct
__toString
eraseCredentials
getAttribute
getAttributes
getRoles
getUser
getUsername
hasAttribute
hasUserChanged
isAuthenticated
serialize
setAttribute
setAttributes
setAuthenticated
setUser
unserialize