public function __construct($options = []) { foreach ($options as $name => $config) { $this->option($name, $config); } }