Fault   A
last analyzed

Complexity

Total Complexity 8

Size/Duplication

Total Lines 85
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 75%

Importance

Changes 0
Metric Value
wmc 8
lcom 0
cbo 0
dl 0
loc 85
ccs 15
cts 20
cp 0.75
rs 10
c 0
b 0
f 0

8 Methods

Rating   Name   Duplication   Size   Complexity  
A getActor() 0 4 1
A setActor() 0 4 1
A getCode() 0 4 1
A setCode() 0 4 1
A getString() 0 4 1
A setString() 0 4 1
A getDetail() 0 4 1
A setDetail() 0 4 1
1
<?php
2
3
namespace GoetasWebservices\SoapServices\SoapClient\Envelope\SoapEnvelope\Parts;
4
5
class Fault
6
{
7
    /**
8
     * @var string
9
     */
10
    private $code;
11
    /**
12
     * @var string
13
     */
14
    private $actor;
15
    /**
16
     * @var string
17
     */
18
    private $string;
19
20
    /**
21
     * @var string
22
     */
23
    private $detail;
24
25
    /**
26
     * @return string
27
     */
28
    public function getActor()
29
    {
30
        return $this->actor;
31
    }
32
33
    /**
34
     * @param string $actor
35
     */
36
    public function setActor($actor)
37
    {
38
        $this->actor = $actor;
39
    }
40
41
    /**
42
     * @return string
43
     */
44 1
    public function getCode()
45
    {
46 1
        return $this->code;
47
    }
48
49
    /**
50
     * @param string $code
51
     */
52 2
    public function setCode($code)
53
    {
54 2
        $this->code = $code;
55 2
    }
56
57
    /**
58
     * @return string
59
     */
60 1
    public function getString()
61
    {
62 1
        return $this->string;
63
    }
64
65
    /**
66
     * @param string $string
67
     */
68 2
    public function setString($string)
69
    {
70 2
        $this->string = $string;
71 2
    }
72
73
    /**
74
     * @return string
75
     */
76 1
    public function getDetail()
77
    {
78 1
        return $this->detail;
79
    }
80
81
    /**
82
     * @param string $detail
83
     */
84 1
    public function setDetail($detail)
85
    {
86 1
        $this->detail = $detail;
87 1
    }
88
89
}
90
91