public function getOption($name) {
        if(!$this->options->has($name))
            throw new \InvalidArgumentException("Option '$name' is not defined");

        return $this->options->get($name);
    }
public function getOption($name) {
        if(!$this->options->has($name))
            throw new \InvalidArgumentException("Option '$name' is not defined");

        return $this->options->get($name);
    }
{@inheritdoc}