blob: ceee7430a4ec9b36a59e395a6b0a63f8da167c7e (
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\Object;
use PurpleCode\PCurl\PCurlResponse;
class PObjectCurlResponse extends PCurlResponse {
public function __construct($header, $body, $httpCode, $object) {
parent::__construct($header, $body, $httpCode);
$this->object = $object;
}
public function getObject() {
return $this->object;
}
}
|