public function addUserGroups(UserGroup ...$groups)
    {
        foreach ($groups as $group) {
            $this->getUserGroups()->add($group);
        }

        return $this;
    }
public function addUserGroups(UserGroup ...$groups)
    {
        foreach ($groups as $group) {
            $this->getUserGroups()->add($group);
        }

        return $this;
    }
public function addUserGroups ( UserGroup ... $ groups ) { foreach ( $ groups as $ group ) { $ this -> getUserGroups ( ) -> add ( $ group ) ; } return $ this ; }
Add user group

@param UserGroup ...$groups

@return $this
Add user group