1 | <?php |
||
16 | final class InvalidOptionException extends \UnexpectedValueException |
||
17 | { |
||
18 | /** |
||
19 | * @param string $option Name/path of the option |
||
20 | * @param mixed $valueGiven The invalid option that was provided |
||
21 | */ |
||
22 | public static function forConfigOption(string $option, $valueGiven): self |
||
26 | |||
27 | /** |
||
28 | * @param string $option Description of the option |
||
29 | * @param mixed $valueGiven The invalid option that was provided |
||
30 | */ |
||
31 | public static function forParameter(string $option, $valueGiven): self |
||
35 | |||
36 | /** |
||
37 | * @param mixed $value |
||
38 | */ |
||
39 | private static function getDebugValue($value): string |
||
47 | } |
||
48 |