public function getGroups()
    {
        if ($this->groups === null) {
            $this->setGroups($this->groupRepository->getAllByRevision($this));
        }
        return $this->groups;
    }
public function getGroups()
    {
        if ($this->groups === null) {
            $this->setGroups($this->groupRepository->getAllByRevision($this));
        }
        return $this->groups;
    }
public function getGroups ( ) { if ( $ this -> groups === null ) { $ this -> setGroups ( $ this -> groupRepository -> getAllByRevision ( $ this ) ) ; } return $ this -> groups ; }
Get Groups.

@return \KmbDomain\Model\GroupInterface[]
Get Groups .