public function __construct(array $options = []) { $this->_curl = curl_init(); curl_setopt_array($this->_curl, $this->_defaults + $options); }