public function merge(\sndsgd\Form ...$forms): Form
    {
        foreach ($forms as $form) {
            $fields = array_values($form->getFields());
            $this->addFields(...$fields);
        }

        return $this;
    }
public function merge(\sndsgd\Form ...$forms): Form
    {
        foreach ($forms as $form) {
            $fields = array_values($form->getFields());
            $this->addFields(...$fields);
        }

        return $this;
    }
public function merge ( \ sndsgd \ Form ... $ forms ) : Form { foreach ( $ forms as $ form ) { $ fields = array_values ( $ form -> getFields ( ) ) ; $ this -> addFields ( ... $ fields ) ; } return $ this ; }
Merge the fields of one or more forms into this one

@param \sndsgd\Form $forms The forms to merge
@return \sndsgd\Form
Merge the fields of one or more forms into this one