Documentation

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

Methods

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
self

getMessages()

public getMessages() : array<string|int, string>
Return values
array<string|int, string>

        
On this page

Search results