class KeyNotFoundException extends InvalidArgumentException implements NotFoundExceptionInterface (View source)

An implementation of the PSR-11 NotFoundExceptionInterface raised by ContainerInterface::get()

Properties

mixed $key

Methods

__construct(mixed $key, string|null $message = null, integer|null $code = null)

No description

Details

__construct(mixed $key, string|null $message = null, integer|null $code = null)

Parameters

mixed $key Missing key
string|null $message Exception message
integer|null $code Error code