src/Search/Framework/Schema.php
public function removeField($id)
    {
        if (isset($this->_fields[$id])) {
            $name = $this->_fields[$id]->getName();
            unset($this->_fields[$id], $this->_fieldNameMap[$name]);
        }
        return $this;
    }
public function removeField($id)
    {
        if (isset($this->_fields[$id])) {
            $name = $this->_fields[$id]->getName();
            unset($this->_fields[$id], $this->_fieldNameMap[$name]);
        }
        return $this;
    }
public function removeField ( $ id ) { if ( isset ( $ this -> _fields [ $ id ] ) ) { $ name = $ this -> _fields [ $ id ] -> getName ( ) ; unset ( $ this -> _fields [ $ id ] , $ this -> _fieldNameMap [ $ name ] ) ; } return $ this ; }
De-references a field from the schema.

@param string $id
The unique identifier of the field.

@return Schema
De - references a field from the schema .