blob: 459e2b88ee158db7b8fa41e721fe45cfc686eee7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
<?php
/**
* PCurl is a REST client libary for PHP.
*
* See http://github.com/purplecode/php.curl for details.
*
* This code is licensed for use, modification, and distribution
* under the terms of the MIT License (see http://en.wikipedia.org/wiki/MIT_License)
*/
namespace PurpleCode\PCurl\Json;
use PurpleCode\PCurl\PCurlResponse;
class PJsonCurlResponse extends PCurlResponse {
public function __construct($header, $body, $httpCode, $json) {
parent::__construct($header, $body, $httpCode);
$this->json = $json;
}
public function getJson() {
return $this->json;
}
}
|