src/Mremi/Dolist/Contact/Contact.php
public function removeField(Field $field)
    {
        if ($this->hasField($field)) {
            unset($this->fields[$field->getName()]);

            return true;
        }

        return false;
    }
public function removeField(Field $field)
    {
        if ($this->hasField($field)) {
            unset($this->fields[$field->getName()]);

            return true;
        }

        return false;
    }
public function removeField ( Field $ field ) { if ( $ this -> hasField ( $ field ) ) { unset ( $ this -> fields [ $ field -> getName ( ) ] ) ; return true ; } return false ; }
Removes the given field from the fields collection

@param Field $field

@return boolean
Removes the given field from the fields collection