| 1 | <?php |
||
| 16 | class ValueNotValid extends AbstractException |
||
| 17 | { |
||
| 18 | //<editor-fold desc="Constructor"> |
||
| 19 | /** |
||
| 20 | * @param mixed $value |
||
| 21 | * @param string|null $enumName the corresponding enum class name or null |
||
| 22 | * @param string $valueFunction the function to call on the enum class to get the list of possible values |
||
| 23 | */ |
||
| 24 | public function __construct($value, ?string $enumName = null, string $valueFunction = "getValues") |
||
| 36 | //</editor-fold desc="Constructor"> |
||
| 37 | } |