Documentation

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

Table of Contents

Interfaces

ExceptionInterface
ExceptionInterface.

Properties

$alternatives  : mixed

Methods

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

Properties

Methods

__construct()

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

Exception message to throw

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

List of similar defined names

$code : int = 0

Exception code

$previous : Exception = null

previous exception used for the exception chaining

getAlternatives()

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

A list of similar defined names


        
On this page

Search results