getGroups() public méthode

Return the groups this user is member of.
public getGroups ( ) : array
Résultat array The groups for this user.
Exemple #1
0
 /**
  * Return the groups this user is member of.
  *
  * @return array The groups for this user.
  */
 public function getGroups()
 {
     return $this->_user->getGroups();
 }