Documentation

ServiceNotFoundException extends InvalidArgumentException
in package
implements NotFoundExceptionInterface

This exception is thrown when a non-existent service is requested.

Tags
author

Johannes M. Schmitt schmittjoh@gmail.com

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

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

Search results