FileAccess Orion

CommandNotFoundException extends InvalidArgumentException
in package
implements ExceptionInterface

Represents an incorrect command name typed in the console.

Tags
author

Jérôme Tamarelle jerome@tamarelle.net

Interfaces, Classes, Traits and Enums

ExceptionInterface
ExceptionInterface.

Table of Contents

$alternatives  : mixed
__construct()  : mixed
getAlternatives()  : array<string|int, mixed>

Properties

Methods

__construct()

public __construct(string $message[, array<string|int, mixed> $alternatives = [] ], int $code[, Throwable $previous = null ]) : mixed
Parameters
$message : string

Exception message to throw

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

List of similar defined names

$code : int

Exception code

$previous : Throwable = null

Previous exception used for the exception chaining

Return values
mixed

getAlternatives()

public getAlternatives() : array<string|int, mixed>
Return values
array<string|int, mixed>

A list of similar defined names

Search results