Total Complexity | 3 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
10 | final class InvalidInputException extends \RuntimeException implements Exception |
||
11 | { |
||
12 | private InputInterface $input; |
||
13 | private string $verboseMessage; |
||
14 | |||
15 | public function __construct(string $message, InputInterface $input, string $verboseMessage = '') |
||
16 | { |
||
17 | parent::__construct($message); |
||
18 | $this->input = $input; |
||
19 | $this->verboseMessage = $verboseMessage; |
||
20 | } |
||
21 | |||
22 | public function getInput(): InputInterface |
||
23 | { |
||
24 | return $this->input; |
||
25 | } |
||
26 | |||
27 | public function getVerboseMessage(): string |
||
30 | } |
||
31 | } |
||
32 |