summaryrefslogblamecommitdiffstats
path: root/vendor/paypal/paypalhttp/lib/PayPalHttp/Serializer/FormPart.php
blob: 5c400269fae43e1fdf2c669c4a95dec1ef276a34 (plain) (tree)
























                                                    
<?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;
    }
}