AbstractLocation::getStatus()   A
last analyzed

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\Account;
4
5
use LE_ACME2\Response\AbstractResponse;
6
7
abstract class AbstractLocation extends AbstractResponse {
8
9
    public function getKey() : string {
10
        return $this->_raw->body['key'];
11
    }
12
13
    public function getContact() : string {
14
        return $this->_raw->body['contact'];
15
    }
16
17
    public function getAgreement() : string {
18
        return $this->_raw->body['agreement'];
19
    }
20
21
    public function getInitialIP() : string {
22
        return $this->_raw->body['initialIp'];
23
    }
24
25
    public function getCreatedAt() : string {
26
        return $this->_raw->body['createdAt'];
27
    }
28
29
    public function getStatus() : string {
30
        return $this->_raw->body['status'];
31
    }
32
}