public function setProxyOption(array $options, $merge = true) { if ($merge === true) { $this->options = array_merge($this->options, $options); } else { $this->options = $options; } return $this; }