Total Complexity | 4 |
Total Lines | 52 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
10 | class SoapFaultException extends \RuntimeException |
||
11 | { |
||
12 | /** |
||
13 | * @var string |
||
14 | */ |
||
15 | public $code; |
||
16 | |||
17 | /** |
||
18 | * @var string |
||
19 | */ |
||
20 | public $reason; |
||
21 | |||
22 | /** |
||
23 | * @var string |
||
24 | */ |
||
25 | public $node; |
||
26 | |||
27 | /** |
||
28 | * @var array |
||
29 | */ |
||
30 | public $detail; |
||
31 | |||
32 | /** |
||
33 | * SoapFaultException constructor. |
||
34 | * |
||
35 | * @param string $code |
||
36 | * @param string $reason |
||
37 | * @param string|null $node |
||
38 | * @param array $detail |
||
39 | */ |
||
40 | 6 | public function __construct(string $code, string $reason, string $node = null, array $detail = null) |
|
57 | 6 | } |
|
58 | |||
59 | 6 | public function getFaultCode(): string |
|
64 |