/** * @inheritDoc */ public function offsetSet($index, $newval) { if ($this->has_column_by_key($index)) { $index = $this->get_column_by_key($index); } parent::offsetSet($index, $newval); }