public function setCustomSetting($key, $value) { $this->customSettings[$key] = $value; return $this; }