Copied!

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

Instantiable
Methods
public __construct(string $key, ?string $sourceId = NULL, ?string $sourceKey = NULL, ?Throwable $previous = NULL, array $alternatives = [], ?string $nonNestedAlternative = NULL, ?string $sourceExtensionName = NULL)
 
  • param string $key The requested parameter key
  • param string|null $sourceId The service id that references the non-existent parameter
  • param string|null $sourceKey The parameter key that references the non-existent parameter
  • param \Throwable|null $previous The previous exception
  • param string[] $alternatives Some parameter name alternatives
  • param string|null $nonNestedAlternative The alternative parameter name when the user expected dot notation for nested parameters
public Exception::__toString() : string
public Exception::__wakeup()
public final Exception::getCode()
public final Exception::getFile() : string
public getKey() : string
public final Exception::getLine() : int
public final Exception::getMessage() : string
public final Exception::getPrevious() : ?Throwable
public getSourceId() : ?string
public getSourceKey() : ?string
public final Exception::getTrace() : array
public final Exception::getTraceAsString() : string
public setSourceExtensionName(?string $sourceExtensionName) : void
public setSourceId(?string $sourceId) : void
public setSourceKey(?string $sourceKey) : void
public updateRepr() : void
Properties
protected Exception::$code = 0
protected string Exception::$file = ''
protected int Exception::$line = 0
protected Exception::$message = ''
Properties
private array $alternatives
private string $key
private ?string $nonNestedAlternative
private ?string $sourceExtensionName
private ?string $sourceId
private ?string $sourceKey
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration