NamespaceNotFoundException
extends CommandNotFoundException
in package
Represents an incorrect namespace typed in the console.
Tags
Table of Contents
Properties
- $alternatives : array<string|int, mixed>
Methods
- __construct() : mixed
- getAlternatives() : array<string|int, string>
Properties
$alternatives
private
array<string|int, mixed>
$alternatives
Methods
__construct()
public
__construct(string $message[, array<string|int, string> $alternatives = [] ][, int $code = 0 ][, Throwable|null $previous = null ]) : mixed
Parameters
- $message : string
-
Exception message to throw
- $alternatives : array<string|int, string> = []
-
List of similar defined names
- $code : int = 0
-
Exception code
- $previous : Throwable|null = null
-
Previous exception used for the exception chaining
getAlternatives()
public
getAlternatives() : array<string|int, string>