FileAccess Orion

ParameterNotFoundException extends InvalidArgumentException
in package
implements NotFoundExceptionInterface

This exception is thrown when a non-existent parameter is used.

Tags
author

Fabien Potencier fabien@symfony.com

Interfaces, Classes, Traits and Enums

NotFoundExceptionInterface
No entry was found in the container.

Table of Contents

$alternatives  : mixed
$key  : mixed
$nonNestedAlternative  : mixed
$sourceId  : mixed
$sourceKey  : mixed
__construct()  : mixed
getKey()  : mixed
getSourceId()  : mixed
getSourceKey()  : mixed
setSourceId()  : mixed
setSourceKey()  : mixed
updateRepr()  : mixed

Properties

Methods

__construct()

public __construct(string $key[, string $sourceId = null ][, string $sourceKey = null ][, Throwable $previous = null ][, array<string|int, string> $alternatives = [] ][, string|null $nonNestedAlternative = null ]) : mixed
Parameters
$key : string

The requested parameter key

$sourceId : string = null

The service id that references the non-existent parameter

$sourceKey : string = null

The parameter key that references the non-existent parameter

$previous : Throwable = null

The previous exception

$alternatives : array<string|int, string> = []

Some parameter name alternatives

$nonNestedAlternative : string|null = null

The alternative parameter name when the user expected dot notation for nested parameters

Return values
mixed

setSourceKey()

public setSourceKey(mixed $sourceKey) : mixed
Parameters
$sourceKey : mixed
Return values
mixed

Search results