public function addGroup($group)
    {
        if ($this->groups === null) {
            $this->setGroups($this->groupRepository->getAllByRevision($this));
        }
        $this->groups[] = $group;
        return $this;
    }
public function addGroup($group)
    {
        if ($this->groups === null) {
            $this->setGroups($this->groupRepository->getAllByRevision($this));
        }
        $this->groups[] = $group;
        return $this;
    }
public function addGroup ( $ group ) { if ( $ this -> groups === null ) { $ this -> setGroups ( $ this -> groupRepository -> getAllByRevision ( $ this ) ) ; } $ this -> groups [ ] = $ group ; return $ this ; }
Add a group.

@param \KmbDomain\Model\GroupInterface $group
@return RevisionProxy
Add a group .