‪TYPO3CMS  9.5
TYPO3\CMS\Extbase\Mvc\Exception\AmbiguousCommandIdentifierException Class Reference
Inheritance diagram for TYPO3\CMS\Extbase\Mvc\Exception\AmbiguousCommandIdentifierException:
TYPO3\CMS\Extbase\Mvc\Exception\CommandException TYPO3\CMS\Extbase\Mvc\Exception TYPO3\CMS\Extbase\Exception TYPO3\CMS\Core\Exception

Public Member Functions

 __construct ($message='', $code=0, \Exception $previousException=null, array $matchingCommands)
 
array<\TYPO3\CMS\Extbase\Mvc\Cli\CommandgetMatchingCommands ()
 

Protected Attributes

array<\TYPO3\CMS\Extbase\Mvc\Cli\Command$matchingCommands = array( )
 

Detailed Description

An "Ambiguous command identifier" exception

Deprecated:
‪since TYPO3 v9, will be removed in TYPO3 v10.0. Use symfony/console commands instead.

Definition at line 22 of file AmbiguousCommandIdentifierException.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Extbase\Mvc\Exception\AmbiguousCommandIdentifierException::__construct (   $message = '',
  $code = 0,
\Exception  $previousException = null,
array  $matchingCommands 
)

Overwrites parent constructor to be able to inject matching commands.

Parameters
string$message
int$code
\Exception | null$previousException
array$matchingCommands‪<\TYPO3\CMS\Extbase\Mvc\Cli\Command> $matchingCommands Commands that matched the command identifier
See also
Exception

Definition at line 37 of file AmbiguousCommandIdentifierException.php.

References TYPO3\CMS\Extbase\Mvc\Exception\AmbiguousCommandIdentifierException\$matchingCommands.

Member Function Documentation

◆ getMatchingCommands()

array<\TYPO3\CMS\Extbase\Mvc\Cli\Command> TYPO3\CMS\Extbase\Mvc\Exception\AmbiguousCommandIdentifierException::getMatchingCommands ( )
Returns
‪array<\TYPO3\CMS\Extbase\Mvc\Cli\Command>

Definition at line 46 of file AmbiguousCommandIdentifierException.php.

References TYPO3\CMS\Extbase\Mvc\Exception\AmbiguousCommandIdentifierException\$matchingCommands.

Member Data Documentation

◆ $matchingCommands

array<\TYPO3\CMS\Extbase\Mvc\Cli\Command> TYPO3\CMS\Extbase\Mvc\Exception\AmbiguousCommandIdentifierException::$matchingCommands = array( )
protected