public function addOption($key, $value) { if (null === $this->options) { $this->options = new Options(); } $this->options->addOption($key, $value); }