/** * clear any mapper field or relation * @param string $key * @return NULL|void */ function clear($key) { unset($this->fieldsCache[$key]); if (isset($this->fieldConf[$key]['relType'])) { $this->set($key, null); } $this->mapper->clear($key); }