public function option($key = null) { if (is_null($key)) { return $this->input->getOptions(); } return $this->input->getOption($key); }