Fault   A
last analyzed

Complexity

Total Complexity 10

Size/Duplication

Total Lines 73
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 10
eloc 16
c 1
b 0
f 0
dl 0
loc 73
rs 10

10 Methods

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