concrete/src/Search/Field/Manager.php
public function addGroup($name, $fields = [])
    {
        $group = new Group();
        $group->setName($name);
        $group->setFields($fields);
        $this->addGroupObject($group);
    }
public function addGroup($name, $fields = [])
    {
        $group = new Group();
        $group->setName($name);
        $group->setFields($fields);
        $this->addGroupObject($group);
    }
public function addGroup ( $ name , $ fields = [ ] ) { $ group = new Group ( ) ; $ group -> setName ( $ name ) ; $ group -> setFields ( $ fields ) ; $ this -> addGroupObject ( $ group ) ; }
Add a group of fields.

@param string $name the group name
@param FieldInterface[] $fields
Add a group of fields .