public function set($flags, $value = null) {
		if ($value !== null) {
			$flags = [$flags => $value];
		}
		$this->options = $flags + $this->options;
	}
public function set($flags, $value = null) {
		if ($value !== null) {
			$flags = [$flags => $value];
		}
		$this->options = $flags + $this->options;
	}
public function set ( $ flags , $ value = null ) { if ( $ value !== null ) { $ flags = [ $ flags => $ value ] ; } $ this -> options = $ flags + $ this -> options ; }
Sets the options to be used in subsequent curl requests.

@link http://php.net/curl.constants.php PHP Manual: cURL Constants
@param array $flags If $values is an array, $flags will be used as the
keys to an associative array of curl options. If $values is not set,
then $flags will be used as the associative array.
@param array $value If set, this array becomes the values for the
associative array of curl options.
@return void
Sets the options to be used in subsequent curl requests .