public function addFields(array $fields)
    {
        array_walk(
            $fields,
            function ($field, $key) {
                $this->addField($key, $field);
            }
        );
    }
public function addFields(array $fields)
    {
        array_walk(
            $fields,
            function ($field, $key) {
                $this->addField($key, $field);
            }
        );
    }
public function addFields ( array $ fields ) { array_walk ( $ fields , function ( $ field , $ key ) { $ this -> addField ( $ key , $ field ) ; } ) ; }
Add fields to the form

@param array $fields
Add fields to the form