ServiceNotFoundException
extends InvalidArgumentException
in package
implements
NotFoundExceptionInterface
This exception is thrown when a non-existent service is requested.
Tags
Interfaces, Classes and Traits
- NotFoundExceptionInterface
- No entry was found in the container.
Table of Contents
- $alternatives : mixed
- $id : mixed
- $sourceId : mixed
- __construct() : mixed
- getAlternatives() : mixed
- getId() : mixed
- getSourceId() : mixed
Properties
$alternatives
private
mixed
$alternatives
$id
private
mixed
$id
$sourceId
private
mixed
$sourceId
Methods
__construct()
public
__construct(string $id[, string|null $sourceId = null ][, Throwable|null $previous = null ][, array<string|int, mixed> $alternatives = [] ][, string|null $msg = null ]) : mixed
Parameters
- $id : string
- $sourceId : string|null = null
- $previous : Throwable|null = null
- $alternatives : array<string|int, mixed> = []
- $msg : string|null = null
Return values
mixed —getAlternatives()
public
getAlternatives() : mixed
Return values
mixed —getId()
public
getId() : mixed
Return values
mixed —getSourceId()
public
getSourceId() : mixed