Passed
Branch master (fc5382)
by Fabian
03:13
created

GetDirectory::getTermsOfService()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
dl 0
loc 2
ccs 0
cts 2
cp 0
rs 10
c 1
b 0
f 0
cc 1
nc 1
nop 0
crap 2
1
<?php
2
3
namespace LE_ACME2\Response;
4
5
class GetDirectory extends AbstractResponse {
6
7
    public function getKeyChange() : string {
8
        return $this->_raw->body['keyChange'];
9
    }
10
11
    public function getNewAccount() : string {
12
        return $this->_raw->body['newAccount'];
13
    }
14
15
    public function getNewNonce() : string {
16
        return $this->_raw->body['newNonce'];
17
    }
18
19
    public function getNewOrder() : string {
20
        return $this->_raw->body['newOrder'];
21
    }
22
23
    public function getRevokeCert() : string {
24
        return $this->_raw->body['revokeCert'];
25
    }
26
    
27
    public function getTermsOfService() : string {
28
        return $this->_raw->body['meta']['termsOfService'];
29
    }
30
31
    public function getWebsite() : string {
32
        return $this->_raw->body['meta']['website'];
33
    }
34
35
    public function getCaaIdentities() : string {
36
        return $this->_raw->body['meta']['caaIdentities'];
37
    }
38
}
39