public function setOption(string $key, $value) : self { if (isset($this->options[$key])) { $this->options[$key] = $value; } return $this; }