Passed
Push — ref ( 45b89b )
by Asmir
02:50
created

Fault::getCode()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

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