AbstractLocation   A
last analyzed

Complexity

Total Complexity 6

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 2
Bugs 0 Features 0
Metric Value
wmc 6
eloc 7
dl 0
loc 24
ccs 0
cts 12
cp 0
rs 10
c 2
b 0
f 0

6 Methods

Rating   Name   Duplication   Size   Complexity  
A getCreatedAt() 0 2 1
A getKey() 0 2 1
A getInitialIP() 0 2 1
A getContact() 0 2 1
A getAgreement() 0 2 1
A getStatus() 0 2 1
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
}