public function __construct(array $opts) { $this->options = $this->mergeDefaults($opts); $this->options = $this->validate($this->options); }