public function addControl(Control ...$controls): ControlCollection
    {
        foreach ($controls as $control) {
            $control->setForm($this);
            $this->controls[$control->getName()] = $control;
        }

        return $this;
    }
public function addControl(Control ...$controls): ControlCollection
    {
        foreach ($controls as $control) {
            $control->setForm($this);
            $this->controls[$control->getName()] = $control;
        }

        return $this;
    }
public function addControl ( Control ... $ controls ) : ControlCollection { foreach ( $ controls as $ control ) { $ control -> setForm ( $ this ) ; $ this -> controls [ $ control -> getName ( ) ] = $ control ; } return $ this ; }
Add controls to form.

@param Control[] ...$controls

@return ControlCollection
Add controls to form .