class DuplicateKeyException extends InvalidConfigurationException
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.
setPath($path) | from InvalidConfigurationException | |
getPath() | from InvalidConfigurationException | |
addHint(string $hint) Adds extra information that is suffixed to the original exception message. | from InvalidConfigurationException |
$path |
Adds extra information that is suffixed to the original exception message.
string | $hint |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Config/Definition/Exception/DuplicateKeyException.html