src/Group.php
public function addField(Field ...$fields)
    {
        collect($fields)->map(function ($field) {
            $this->group['fields']->put($field->key(), $field->get());
        });

        return $this;
    }
public function addField(Field ...$fields)
    {
        collect($fields)->map(function ($field) {
            $this->group['fields']->put($field->key(), $field->get());
        });

        return $this;
    }
public function addField ( Field ... $ fields ) { collect ( $ fields ) -> map ( function ( $ field ) { $ this -> group [ 'fields' ] -> put ( $ field -> key ( ) , $ field -> get ( ) ) ; } ) ; return $ this ; }
Add fields to the current group. Accepts a comma separated list of Fields

@param Field ...$fields
@return Agencms\Core\Group
Add fields to the current group . Accepts a comma separated list of Fields