public function ParameterNotFoundException::__construct

Constructor.

Parameters

string $key The requested parameter key:

string $sourceId The service id that references the non-existent parameter:

string $sourceKey The parameter key that references the non-existent parameter:

File

drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Exception/ParameterNotFoundException.php, line 32

Class

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

Namespace

Symfony\Component\DependencyInjection\Exception

Code

public function __construct($key, $sourceId = null, $sourceKey = null) {
  $this->key = $key;
  $this->sourceId = $sourceId;
  $this->sourceKey = $sourceKey;
  $this
    ->updateRepr();
}