for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @author @jayS-de <[email protected]>
* @created: 23.01.15, 16:07
*/
namespace Commercetools\Core\Client;
use GuzzleHttp\Psr7\UploadedFile;
* @package Commercetools\Core\Http
* @internal
class FileUploadRequest extends HttpRequest
{
public function __construct($path, UploadedFile $file)
parent::__construct('POST', $path, $file->getStream(), $file->getClientMediaType());
}