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