Subiendo proyecto completo sin restricciones de git ignore
This commit is contained in:
28
vendor/paypal/paypalhttp/lib/PayPalHttp/HttpException.php
vendored
Normal file
28
vendor/paypal/paypalhttp/lib/PayPalHttp/HttpException.php
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace PayPalHttp;
|
||||
|
||||
class HttpException extends IOException
|
||||
{
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $statusCode;
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
public $headers;
|
||||
|
||||
/**
|
||||
* @param string $message
|
||||
* @param int $statusCode
|
||||
* @param array $headers
|
||||
*/
|
||||
public function __construct($message, $statusCode, $headers)
|
||||
{
|
||||
parent::__construct($message);
|
||||
$this->statusCode = $statusCode;
|
||||
$this->headers = $headers;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user