Total Complexity | 3 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class MissingFieldException extends Exception |
||
8 | { |
||
9 | private string $missingField; |
||
10 | private object $operationObject; |
||
11 | |||
12 | public function __construct( |
||
13 | string $missingField, |
||
14 | object $operationObject, |
||
15 | string $message = '', |
||
16 | int $code = 0, |
||
17 | Throwable $previous = null |
||
18 | ) |
||
19 | { |
||
20 | parent::__construct($message, $code, $previous); |
||
21 | $this->missingField = $missingField; |
||
22 | $this->operationObject = $operationObject; |
||
23 | } |
||
24 | |||
25 | public function getMissingField(): string |
||
28 | } |
||
29 | |||
30 | public function getOperationObject(): object |
||
33 | } |
||
34 | } |
||
35 |