public function pushField(Field $field)
    {
        $field = $this->formatField($field);

        $this->fields->push($field);

        return $this;
    }
public function pushField(Field $field)
    {
        $field = $this->formatField($field);

        $this->fields->push($field);

        return $this;
    }
public function pushField ( Field $ field ) { $ field = $ this -> formatField ( $ field ) ; $ this -> fields -> push ( $ field ) ; return $ this ; }
Add a field to form.

@param Field $field

@return $this
Add a field to form .