public function put($url, $data = null, $headers = [], $options = [])
    {
        return $this->createRequestShortcut('PUT', $url, $data, $headers, $options);
    }
public function put($url, $data = null, $headers = [], $options = [])
    {
        return $this->createRequestShortcut('PUT', $url, $data, $headers, $options);
    }
public function put ( $ url , $ data = null , $ headers = [ ] , $ options = [ ] ) { return $ this -> createRequestShortcut ( 'PUT' , $ url , $ data , $ headers , $ options ) ; }
Creates 'PUT' request.
@param array|string $url target URL.
@param array|string $data if array - request data, otherwise - request content.
@param array $headers request headers.
@param array $options request options.
@return Request request instance.
Creates PUT request .