class ParameterNotFoundException extends InvalidArgumentException implements NotFoundExceptionInterface

This exception is thrown when a non-existent parameter is used.

Methods

__construct(string $key, string $sourceId = null, string $sourceKey = null, Exception $previous = null, array $alternatives = [], string $nonNestedAlternative = null)

No description

updateRepr()

No description

getKey()

No description

getSourceId()

No description

getSourceKey()

No description

setSourceId($sourceId)

No description

setSourceKey($sourceKey)

No description

Details

at line 37
__construct(string $key, string $sourceId = null, string $sourceKey = null, Exception $previous = null, array $alternatives = [], string $nonNestedAlternative = null)

Parameters

string $key The requested parameter key
string $sourceId The service id that references the non-existent parameter
string $sourceKey The parameter key that references the non-existent parameter
Exception $previous The previous exception
array $alternatives Some parameter name alternatives
string $nonNestedAlternative The alternative parameter name when the user expected dot notation for nested parameters

at line 50
updateRepr()

at line 72
getKey()

at line 77
getSourceId()

at line 82
getSourceKey()

at line 87
setSourceId($sourceId)

Parameters

$sourceId

at line 94
setSourceKey($sourceKey)

Parameters

$sourceKey