extends |
InvalidArgumentException |
|---|---|
implements |
NotFoundExceptionInterface |
This exception is thrown when a non-existent parameter is used.
| Methods | ||
|---|---|---|
public
|
__construct(
string $key,
string|null $sourceId = null,
string|null $sourceKey = null,
Throwable|null $previous = null,
string[] $alternatives = [],
string|null $nonNestedAlternative = null,
)
|
# |
public
|
updateRepr(): void
|
# |
public
|
getKey(): string
|
# |
public
|
getSourceId(): string|null
|
# |
public
|
getSourceKey(): string|null
|
# |
public
|
setSourceId(?string $sourceId): void
|
# |
public
|
setSourceKey(?string $sourceKey): void
|
# |
| Methods inherited from Exception |
|---|
__wakeup(), getMessage(), getCode(), getFile(), getLine(), getTrace(), getPrevious(), getTraceAsString(), __toString() |
| Properties | |||
|---|---|---|---|
private
|
string
|
$key
|
# |
private
|
?string
|
$sourceId
|
# |
private
|
?string
|
$sourceKey
|
# |
private
|
array
|
$alternatives
|
# |
private
|
?string
|
$nonNestedAlternative
|
# |