extends |
InvalidArgumentException |
|---|---|
implements |
NotFoundExceptionInterface |
This exception is thrown when a non-existent service is requested.
| Methods | ||
|---|---|---|
public
|
__construct(
string $id,
string $sourceId = null,
Throwable $previous = null,
array $alternatives = [],
string $msg = null,
)
|
# |
public
|
getId(): string
|
# |
public
|
getSourceId(): string|null
|
# |
public
|
getAlternatives(): array
|
# |
| Methods inherited from Exception |
|---|
__wakeup(), getMessage(), getCode(), getFile(), getLine(), getTrace(), getPrevious(), getTraceAsString(), __toString() |
| Properties | |||
|---|---|---|---|
private
|
string
|
$id
|
# |
private
|
?string
|
$sourceId
|
# |
private
|
array
|
$alternatives
|
# |