Total Complexity | 4 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class NewNonceResponse { |
||
11 | |||
12 | use SingletonTrait; |
||
13 | |||
14 | private function __construct() {} |
||
15 | |||
16 | private $_responses = []; |
||
17 | private $_index = 0; |
||
18 | |||
19 | /** |
||
20 | * @return Response\GetNewNonce |
||
21 | * @throws Exception\InvalidResponse |
||
22 | * @throws Exception\RateLimitReached |
||
23 | */ |
||
24 | public function get() : Response\GetNewNonce { |
||
36 | } |
||
37 | |||
38 | public function set(Response\GetNewNonce $response) : void { |
||
40 | } |
||
41 | } |