Total Complexity | 4 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | final class Error |
||
12 | { |
||
13 | private $url; |
||
14 | private $response; |
||
15 | |||
16 | public function __construct($url, $response) |
||
17 | { |
||
18 | $this->url = $url; |
||
19 | $this->response = $response; |
||
20 | } |
||
21 | |||
22 | public function code() |
||
25 | } |
||
26 | |||
27 | public function getResponse() |
||
28 | { |
||
29 | return $this->response; |
||
30 | } |
||
31 | |||
32 | public function message() |
||
35 | } |
||
36 | } |