ValidationException
extends InvalidConfigurationException
in package
FinalYes
Table of Contents
Properties
- $messages : array<string|int, string>
Methods
- __construct() : mixed
- forConfigOption() : self
- getMessages() : array<string|int, string>
Properties
$messages
private
array<string|int, string>
$messages
Methods
__construct()
public
__construct(ValidationException $innerException) : mixed
Parameters
- $innerException : ValidationException
forConfigOption()
public
static forConfigOption(string $option, mixed $valueGiven[, string|null $description = null ]) : self
Parameters
- $option : string
-
Name/path of the option
- $valueGiven : mixed
-
The invalid option that was provided
- $description : string|null = null
-
Additional text describing the issue (optional)
Return values
selfgetMessages()
public
getMessages() : array<string|int, string>