DuplicateKeyException
extends InvalidConfigurationException
in package
This exception is thrown whenever the key of an array is not unique. This can only be the case if the configuration is coming from an XML file.
Tags
Table of Contents
Properties
- $containsHints : bool
- $path : string|null
Methods
- addHint() : mixed
- Adds extra information that is suffixed to the original exception message.
- getPath() : string|null
- setPath() : mixed
Properties
$containsHints
private
bool
$containsHints
= false
$path
private
string|null
$path
= null
Methods
addHint()
Adds extra information that is suffixed to the original exception message.
public
addHint(string $hint) : mixed
Parameters
- $hint : string
getPath()
public
getPath() : string|null
Return values
string|nullsetPath()
public
setPath(string $path) : mixed
Parameters
- $path : string