public function setOptions(array $options) { $this->options = $options + $this->defaultOptions; return $this; }