Completed
Push — soap-12 ( 6e3908...80b930 )
by Asmir
26:02
created

Fault::setRole()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
3
namespace GoetasWebservices\SoapServices\SoapClient\Envelope\SoapEnvelope12\Parts;
4
5
/**
6
 * Class representing DoSomethingInput
7
 */
8
class Fault
9
{
10
    /**
11
     * @var FaultCode
12
     */
13
    private $code;
14
    /**
15
     * @var string[]
16
     */
17
    private $reason = [];
18
    /**
19
     * @var string
20
     */
21
    private $detail;
22
    /**
23
     * @var string
24
     */
25
    private $role;
26
    /**
27
     * @var string
28
     */
29
    private $node;
30
31
    /**
32
     * @return string
33
     */
34
    public function getDetail()
35
    {
36
        return $this->detail;
37
    }
38
39
    /**
40
     * @param string $detail
41
     */
42
    public function setDetail($detail)
43
    {
44
        $this->detail = $detail;
45
    }
46
47
    /**
48
     * @return string
49
     */
50
    public function getRole()
51
    {
52
        return $this->role;
53
    }
54
55
    /**
56
     * @param string $role
57
     * @return Fault
58
     */
59
    public function setRole($role)
60
    {
61
        $this->role = $role;
62
    }
63
64
    /**
65
     * @return string
66
     */
67
    public function getNode()
68
    {
69
        return $this->node;
70
    }
71
72
    /**
73
     * @param string $node
74
     */
75
    public function setNode($node)
76
    {
77
        $this->node = $node;
78
    }
79
80
    /**
81
     * @return string
82
     */
83
    public function getCode()
84
    {
85
        return $this->code;
86
    }
87
88
    /**
89
     * @param FaultCode $code
90
     */
91
    public function setCode($code)
92
    {
93
        $this->code = $code;
94
    }
95
96
    /**
97
     * @return string[]
98
     */
99
    public function getReason()
100
    {
101
        return $this->reason;
102
    }
103
104
    /**
105
     * @param string[] $reason
106
     */
107
    public function setReason(array $reason)
108
    {
109
        $this->reason = $reason;
110
    }
111
112
}
113
114