public function getGroup($groupName)
    {
        return isset($this->groups[$groupName]) ? $this->groups[$groupName] : null;
    }
public function getGroup($groupName)
    {
        return isset($this->groups[$groupName]) ? $this->groups[$groupName] : null;
    }
public function getGroup ( $ groupName ) { return isset ( $ this -> groups [ $ groupName ] ) ? $ this -> groups [ $ groupName ] : null ; }
Get a group from it's name if it exist.

@param $groupName

@return Group|null
Get a group from it s name if it exist .