Subiendo proyecto completo sin restricciones de git ignore
This commit is contained in:
42
vendor/paypal/paypalhttp/lib/PayPalHttp/HttpRequest.php
vendored
Normal file
42
vendor/paypal/paypalhttp/lib/PayPalHttp/HttpRequest.php
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
|
||||
namespace PayPalHttp;
|
||||
|
||||
/**
|
||||
* Class HttpRequest
|
||||
* @package PayPalHttp
|
||||
*
|
||||
* Request object that holds all the necessary information required by HTTPClient
|
||||
*
|
||||
* @see HttpClient
|
||||
*/
|
||||
class HttpRequest
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $path;
|
||||
|
||||
/**
|
||||
* @var array | string
|
||||
*/
|
||||
public $body;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $verb;
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
public $headers;
|
||||
|
||||
function __construct($path, $verb)
|
||||
{
|
||||
$this->path = $path;
|
||||
$this->verb = $verb;
|
||||
$this->body = NULL;
|
||||
$this->headers = [];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user