Add getOpt function

Allows to get a previously set option.
This commit is contained in:
Mattéo D
2014-08-31 15:31:06 +02:00
parent 9fb14c9887
commit 9da5d9d2ea
+5
View File
@@ -234,6 +234,11 @@ class Curl
$this->options[$option] = $value;
return curl_setopt($ch, $option, $value);
}
public function getOpt($option)
{
return $this->options[$option];
}
public function verbose($on = true)
{