Subiendo proyecto completo sin restricciones de git ignore
This commit is contained in:
25
vendor/paypal/paypalhttp/lib/PayPalHttp/Serializer/FormPart.php
vendored
Normal file
25
vendor/paypal/paypalhttp/lib/PayPalHttp/Serializer/FormPart.php
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
namespace PayPalHttp\Serializer;
|
||||
|
||||
class FormPart
|
||||
{
|
||||
private $value;
|
||||
private $headers;
|
||||
|
||||
public function __construct($value, $headers)
|
||||
{
|
||||
$this->value = $value;
|
||||
$this->headers = array_merge([], $headers);
|
||||
}
|
||||
|
||||
public function getValue()
|
||||
{
|
||||
return $this->value;
|
||||
}
|
||||
|
||||
public function getHeaders()
|
||||
{
|
||||
return $this->headers;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user