Documentation

InvalidConfigurationException extends UnexpectedValueException
in package
implements ConfigurationExceptionInterface

Table of Contents

Interfaces

ConfigurationExceptionInterface
Marker interface for any/all exceptions thrown by this library

Methods

forConfigOption()  : self
getDebugValue()  : string

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

getDebugValue()

private static getDebugValue(mixed $value) : string
Parameters
$value : mixed
Tags
psalm-pure
Return values
string

        
On this page

Search results