public function removeOption($key) { if (isset($this->options[$key])) { unset($this->options[$key]); } return $this; }