ParameterNotFoundException

ParameterNotFoundException

class ParameterNotFoundException extends InvalidArgumentException

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 = array(), string|null $nonNestedAlternative = null)
updateRepr()
getKey()
getSourceId()
getSourceKey()
setSourceId($sourceId)
setSourceKey($sourceKey)

Details

__construct(string $key, string $sourceId = null, string $sourceKey = null, Exception $previous = null, array $alternatives = array(), string|null $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|null $nonNestedAlternative The alternative parameter name when the user expected dot notation for nested parameters

updateRepr()

getKey()

getSourceId()

getSourceKey()

setSourceId($sourceId)

Parameters

$sourceId

setSourceKey($sourceKey)

Parameters

$sourceKey
在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部