function ParameterNotFoundException::__construct
Parameters
string $key The requested parameter key:
string|null $sourceId The service id that references the non-existent parameter:
string|null $sourceKey The parameter key that references the non-existent parameter:
\Throwable|null $previous The previous exception:
string[] $alternatives Some parameter name alternatives:
string|null $nonNestedAlternative The alternative parameter name when the user expected dot notation for nested parameters:
File
-
vendor/
symfony/ dependency-injection/ Exception/ ParameterNotFoundException.php, line 31
Class
- ParameterNotFoundException
- This exception is thrown when a non-existent parameter is used.
Namespace
Symfony\Component\DependencyInjection\ExceptionCode
public function __construct(string $key, ?string $sourceId = null, ?string $sourceKey = null, ?\Throwable $previous = null, array $alternatives = [], ?string $nonNestedAlternative = null, ?string $sourceExtensionName = null, ?string $extraMessage = null) {
parent::__construct('', 0, $previous);
$this->updateRepr();
}