public function fill($data) { if (is_array($this->column)) { foreach ($this->column as $key => $column) { $this->value[$key] = array_get($data, $column); } return; } $this->value = array_get($data, $this->column); }