Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
PHP FOS\UserBundle\Model User::hasGroup Examples
Programming Language:
PHP
Namespace/Package Name:
FOS\UserBundle\Model
Class/Type:
User
Method/Function:
hasGroup
Examples at hotexamples.com:
1
PHP FOS\UserBundle\Model User::hasGroup - 1 examples found
. These are the top rated real world PHP examples of
FOS\UserBundle\Model\User::hasGroup
extracted from open source projects. You can rate examples to help us improve the quality of examples.
Frequently Used Methods
Show
Hide
__construct(30)
setEmail(13)
setPlainPassword(6)
addRole(6)
getId(5)
serialize(4)
getUsername(4)
unserialize(4)
setUsername(4)
setSurname(3)
setGivenName(3)
setEnabled(3)
setEmailCanonical(3)
getRoles(2)
addGroup(2)
setUsernameCanonical(2)
__toString(2)
setRoles(1)
setPassword(1)
setExpiresAt(1)
__constract(1)
setCredentialsExpireAt(1)
setConfirmationToken(1)
is(1)
hasGroup(1)
getPlainPassword(1)
getGroups(1)
getGroupNames(1)
getEmail(1)
getElo(1)
_construct(1)
removeGroup(1)
Frequently Used Methods
__construct (30)
setEmail (13)
setPlainPassword (6)
addRole (6)
getId (5)
serialize (4)
getUsername (4)
unserialize (4)
setUsername (4)
setSurname (3)
Frequently Used Methods
setGivenName (3)
setEnabled (3)
setEmailCanonical (3)
getRoles (2)
addGroup (2)
setUsernameCanonical (2)
__toString (2)
setRoles (1)
setPassword (1)
setExpiresAt (1)
__constract (1)
setCredentialsExpireAt (1)
setConfirmationToken (1)
is (1)
hasGroup (1)
getPlainPassword (1)
getGroups (1)
getGroupNames (1)
getEmail (1)
getElo (1)
Frequently Used Methods
__constract (1)
setCredentialsExpireAt (1)
setConfirmationToken (1)
is (1)
hasGroup (1)
getPlainPassword (1)
getGroups (1)
getGroupNames (1)
getEmail (1)
getElo (1)
_construct (1)
removeGroup (1)
Frequently Used Methods
_construct (1)
removeGroup (1)
hasGroup()
public
method
Indicates whether the user belongs to the specified group or not
public
hasGroup
(
string
$name
) :
boolean
$name
string
Name of the group
return
boolean
User Class Documentation
Example #1
0
Show file
File:
User.php
Project:
harijoe/cheerup
public function hasSecurityGroup($name) { return parent::hasGroup($name); }
x