public function Github_HttpClient::setOption in Bibliography Module 7.2
Change an option value.
Parameters
string $name The option name:
mixed $value The value:
Return value
Github_HttpClientInterface The current object instance
Overrides Github_HttpClientInterface::setOption
File
- modules/
CiteProc/ Github/ HttpClient.php, line 137
Class
- Github_HttpClient
- Performs requests on GitHub API. API documentation should be self-explanatory.
Code
public function setOption($name, $value) {
$this->options[$name] = $value;
return $this;
}