| Total Complexity | 3 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class MyriadSoapException extends \Exception |
||
| 9 | { |
||
| 10 | protected string $soapMethod; |
||
| 11 | protected array $soapParams; |
||
| 12 | |||
| 13 | 5 | public function __construct($message = '', string $soapMethod = '', array $soapParams = [], $code = 0, Throwable $previous = null) |
|
| 14 | { |
||
| 15 | 5 | $this->soapMethod = $soapMethod; |
|
| 16 | 5 | $this->soapParams = $soapParams; |
|
| 17 | 5 | parent::__construct($message, $code, $previous); |
|
| 18 | } |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @return string |
||
| 22 | */ |
||
| 23 | 1 | public function getSoapMethod(): string |
|
| 24 | { |
||
| 25 | 1 | return $this->soapMethod; |
|
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @return array |
||
| 30 | */ |
||
| 31 | 1 | public function getSoapParams(): array |
|
| 34 | } |
||
| 35 | } |
||
| 36 |