public function append (Field $field)
    {
        if (in_array($field, $this->_fields, true)) {
            throw new InvalidArgumentException("{$this} already contains {$field}");
        }
        $this->_fields []= $field;
    }
public function append (Field $field)
    {
        if (in_array($field, $this->_fields, true)) {
            throw new InvalidArgumentException("{$this} already contains {$field}");
        }
        $this->_fields []= $field;
    }
public function append ( Field $ field ) { if ( in_array ( $ field , $ this -> _fields , true ) ) { throw new InvalidArgumentException ( "{$this} already contains {$field}" ) ; } $ this -> _fields [ ] = $ field ; }
Append a field to the record.

@throws InvalidArgumentException Field already in record

@param  \HAB\Pica\Record\Field $field Field to append
@return void
Append a field to the record .