| Total Complexity | 10 |
| Total Lines | 73 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 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 |
||
| 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 |
||
| 77 | } |
||
| 78 | |||
| 79 | public function setRawDetail(\SimpleXMLElement $rawDetail): void |
||
| 80 | { |
||
| 81 | $this->rawDetail = $rawDetail; |
||
| 82 | } |
||
| 83 | } |
||
| 84 |