src/bootbuilder/Form.php
public function addAll() {
        if(func_num_args() > 0) {
            for($i = 0; $i < func_num_args(); $i++) {
                if(func_get_arg($i) instanceof \bootbuilder\Controls\Control){
                    array_push($this->controls, func_get_arg($i));
                }
            }
        }
    }
public function addAll() {
        if(func_num_args() > 0) {
            for($i = 0; $i < func_num_args(); $i++) {
                if(func_get_arg($i) instanceof \bootbuilder\Controls\Control){
                    array_push($this->controls, func_get_arg($i));
                }
            }
        }
    }
public function addAll ( ) { if ( func_num_args ( ) > 0 ) { for ( $ i = 0 ; $ i < func_num_args ( ) ; $ i ++ ) { if ( func_get_arg ( $ i ) instanceof \ bootbuilder \ Controls \ Control ) { array_push ( $ this -> controls , func_get_arg ( $ i ) ) ; } } } }
Add multiple controls to form
@param \BootBuilder\Controls\Control $control,... Multiple controls
Add multiple controls to form