getGroups() public method

Get groups granted to the user
public getGroups ( ) : Doctrine\Common\Collections\Collection
return Doctrine\Common\Collections\Collection
Example #1
0
 /**
  * Gets the groups granted to the user.
  *
  * @return Collection
  */
 public function getSecurityGroups()
 {
     return parent::getGroups();
 }