public function setOption($option, $value) {
        //Silence it because errors handled differently
        $res = @curl_setopt($this->handler, $option, $value);

        if($res === TRUE) {
            return $this;
        }

        throw new RuntimeException('Failed to set the following option: ' . $option);
    }
public function setOption($option, $value) {
        //Silence it because errors handled differently
        $res = @curl_setopt($this->handler, $option, $value);

        if($res === TRUE) {
            return $this;
        }

        throw new RuntimeException('Failed to set the following option: ' . $option);
    }
public function setOption ( $ option , $ value ) { //Silence it because errors handled differently $ res = @ curl_setopt ( $ this -> handler , $ option , $ value ) ; if ( $ res === TRUE ) { return $ this ; } throw new RuntimeException ( 'Failed to set the following option: ' . $ option ) ; }
Set an opt in current curl handler

@param int $option
@param mixed $value

@throws \BuildR\Foundation\Exception\RuntimeException

@return \Phabricator\Client\Curl\CurlRequest
Set an opt in current curl handler