public function getOption(string $key = '') { if (isset($this->options[$key])) { return $this->options[$key]; } return $this->options; }