InvalidOptionException
extends Exception
in package
This Exception gets invoked if an invalid parameter gets passed on as option
Tags
Table of Contents
- __construct() : mixed
- Constructor of the Exception
Methods
__construct()
Constructor of the Exception
public
__construct(string $optionName[, array<string|int, string> $expectedValues = array() ], string $givenValue) : mixed
Parameters
- $optionName : string
-
- The name of the Option
- $expectedValues : array<string|int, string> = array()
-
- All possible Values
- $givenValue : string