| Total Complexity | 6 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | class Directory extends Endpoint |
||
| 6 | { |
||
| 7 | public function all() |
||
| 8 | { |
||
| 9 | return $this->client |
||
| 10 | ->getHttpClient() |
||
| 11 | ->get($this->client->getBaseUrl() . '/directory'); |
||
| 12 | } |
||
| 13 | |||
| 14 | public function newNonce(): string |
||
| 15 | { |
||
| 16 | return $this->all()->getBody()['newNonce']; |
||
| 17 | } |
||
| 18 | |||
| 19 | public function newAccount(): string |
||
| 22 | } |
||
| 23 | |||
| 24 | public function newOrder(): string |
||
| 27 | } |
||
| 28 | |||
| 29 | public function getOrder(): string |
||
| 34 | } |
||
| 35 | |||
| 36 | public function revoke(): string |
||
| 41 |