/** * Unset a key in the settings data. * * @param string $key */ public function forget($key) { $this->unsaved = true; if ($this->has($key)) { Arr::forget($this->data, $key); } }