Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
FOS
UserBundle
Model
UserInterface
hasRole
FOS\UserBundle\Model\UserInterface::hasRole PHP Method
UserInterface Interface Documentation
Datei anzeigen
Open project: KnpLabs/KnpUserBundle
hasRole()
public
method
public
hasRole
(
$role
)
function hasRole($role);
UserInterface
addGroup
addRole
getAlgorithm
getConfirmationToken
getEmail
getEmailCanonical
getGroupNames
getGroups
getPlainPassword
getUsernameCanonical
hasGroup
hasRole
isSuperAdmin
isUser
removeGroup
removeRole
setAlgorithm
setConfirmationToken
setEmail
setEmailCanonical
setEnabled
setPassword
setPlainPassword
setRoles
setSuperAdmin
setUsername
setUsernameCanonical