Total Complexity | 4 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
7 | class Response |
||
8 | { |
||
9 | protected array $contents; |
||
10 | |||
11 | public function __construct(ResponseInterface $guzzleResponse) |
||
14 | } |
||
15 | |||
16 | public function getStatus(): string |
||
17 | { |
||
18 | return $this->contents['stat']; |
||
19 | } |
||
20 | |||
21 | public function getContent(string $method): string |
||
22 | { |
||
23 | return $this->contents[$method]['_content']; |
||
24 | } |
||
25 | |||
26 | public function __get($variable) |
||
29 | } |
||
30 | } |
||
31 |