Source of file CurlResponse.php
Size: 0,511 Bytes - Last Modified: 2021-12-23T10:20:09+00:00
/var/www/docs.ssmods.com/process/src/src/Ctct/Util/CurlResponse.php
1234567891011121314151617181920212223242526272829 | <?php namespace Ctct\Util; /** * A CurlResponse object to be returned from a RestClientInterface implementation * * @package Util * @author Constant Contact */ class CurlResponse { public $body; public $error; public $info; public static function create($body, $info, $error = null) { $curl = new CurlResponse(); $curl->body = $body; $curl->info = $info; $curl->error = $error; return $curl; } } |