public function put($url, array $data = [])
    {
        $this->resetAndAssociateUrl($url);

        if (!curl_setopt($this->ch, CURLOPT_PUT, true)) {
            $this->addFields($data);
        }

        return new Parser($this->ch);
    }
public function put($url, array $data = [])
    {
        $this->resetAndAssociateUrl($url);

        if (!curl_setopt($this->ch, CURLOPT_PUT, true)) {
            $this->addFields($data);
        }

        return new Parser($this->ch);
    }
public function put ( $ url , array $ data = [ ] ) { $ this -> resetAndAssociateUrl ( $ url ) ; if ( ! curl_setopt ( $ this -> ch , CURLOPT_PUT , true ) ) { $ this -> addFields ( $ data ) ; } return new Parser ( $ this -> ch ) ; }
Make put requete

@param  string $url
@param  array  $data

@return Parser
Make put requete