public function __construct(HttpOptions $options = null) { parent::__construct(); $this->options = $options ?: new HttpOptions(); }