Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
Symfony
Component
Security
Core
Authentication
Token
AbstractToken
hasAttribute
Symfony\Component\Security\Core\Authentication\Token\AbstractToken::hasAttribute PHP Méthode
AbstractToken Class Documentation
Afficher le fichier
Open project: symfony/symfony
hasAttribute()
public
méthode
Returns true if the attribute exists.
public
hasAttribute
(
string
$name
) :
boolean
$name
string
The attribute name
Résultat
boolean
true if the attribute exists, false otherwise
public function hasAttribute($name) { return array_key_exists($name, $this->attributes); }
AbstractToken
__construct
__toString
eraseCredentials
getAttribute
getAttributes
getRoles
getUser
getUsername
hasAttribute
hasUserChanged
isAuthenticated
serialize
setAttribute
setAttributes
setAuthenticated
setUser
unserialize