addGroup() public method

Add a group to the user groups
public addGroup ( FOS\UserBundle\Model\GroupInterface $group ) : null
$group FOS\UserBundle\Model\GroupInterface
return null
Beispiel #1
0
 public function addGroup(GroupInterface $groups)
 {
     parent::addGroup($groups);
     $this->groups[] = $groups;
     return $this;
 }
Beispiel #2
0
 public function addSecurityGroup(GroupInterface $group)
 {
     return parent::addGroup($group);
 }