Total Complexity | 5 |
Total Lines | 46 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
6 | class BeesWaxResponse |
||
7 | { |
||
8 | /** @var string */ |
||
9 | protected $cookiesContent; |
||
10 | |||
11 | /** @var string */ |
||
12 | protected $payload; |
||
13 | |||
14 | /** @var resource */ |
||
15 | protected $curlHandler; |
||
16 | |||
17 | /** @var int */ |
||
18 | protected $statusCode; |
||
19 | |||
20 | public function __construct($curlHandler, string $payload, int $statusCode, string $cookiesContent) |
||
21 | { |
||
22 | $this->curlHandler = $curlHandler; |
||
23 | $this->payload = $payload; |
||
24 | $this->statusCode = $statusCode; |
||
25 | $this->cookiesContent = $cookiesContent; |
||
26 | } |
||
27 | |||
28 | public function getCookiesContent(): string |
||
29 | { |
||
30 | return $this->cookiesContent; |
||
31 | } |
||
32 | |||
33 | public function getPayload(): string |
||
36 | } |
||
37 | |||
38 | /** |
||
39 | * @return resource |
||
40 | */ |
||
41 | public function getCurlHandler() |
||
44 | } |
||
45 | |||
46 | /** |
||
47 | * @return int |
||
48 | */ |
||
49 | public function getStatusCode(): int |
||
52 | } |
||
53 | } |
||
54 |