public function offsetSet($index, $value) { unset($this->values[$index]); unset($this->raw_values[$index]); parent::offsetSet($index, $value); }