$item) { if (array_key_exists($index, $this->data)) { $this->data[$index] = $item; } } } } /** * @return array */ public function getDataArray(): array { return $this->data; } /** * @return array */ public function getModified(): array { return $this->modified; } /** * @param string $column * * @return bool */ protected function setModified(string $column): bool { $this->modified[$column] = $column; return true; } }