Total Complexity | 2 |
Total Lines | 17 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
9 | class VerifyKeyResult extends ClientResult |
||
10 | { |
||
11 | /** |
||
12 | * Create a result; throws if the result body isn't in the known list of responses. |
||
13 | * @param \GuzzleHttp\Psr7\Response $response |
||
14 | */ |
||
15 | 13 | public function __construct(\GuzzleHttp\Psr7\Response $response) |
|
16 | { |
||
17 | 13 | parent::__construct($response, [ 'valid', 'invalid' ]); |
|
18 | 12 | } |
|
19 | |||
20 | /** |
||
21 | * Is the key valid? |
||
22 | * @return boolean |
||
23 | */ |
||
24 | 6 | public function isValid() { |
|
26 | } |
||
27 | } |