Error   A
last analyzed

Complexity

Total Complexity 4

Size/Duplication

Total Lines 45
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 4
lcom 0
cbo 1
dl 0
loc 45
rs 10
c 0
b 0
f 0

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getErrorId() 0 4 1
A getError() 0 4 1
A getErrorDescription() 0 4 1
A getErrorCode() 0 4 1
1
<?php
2
3
namespace Audiens\AppnexusClient\entity;
4
5
/**
6
 * Class Error
7
 */
8
class Error
9
{
10
11
    use HydratableTrait;
12
13
    protected $error_id;
14
15
    protected $error;
16
17
    protected $error_description;
18
19
    protected $error_code;
20
21
    /**
22
     * @return mixed
23
     */
24
    public function getErrorId()
25
    {
26
        return $this->error_id;
27
    }
28
29
    /**
30
     * @return mixed
31
     */
32
    public function getError()
33
    {
34
        return $this->error;
35
    }
36
37
    /**
38
     * @return mixed
39
     */
40
    public function getErrorDescription()
41
    {
42
        return $this->error_description;
43
    }
44
45
    /**
46
     * @return mixed
47
     */
48
    public function getErrorCode()
49
    {
50
        return $this->error_code;
51
    }
52
}
53