/** * Overwrites parent constructor to be able to inject matching commands. * * @param string $message * @param integer $code * @param \Exception $previousException * @param array<\TYPO3\FLOW3\Cli\Command> $matchingCommands Commands that matched the command identifier * @see \Exception */ public function __construct($message = '', $code = 0, \Exception $previousException = NULL, array $matchingCommands) { $this->matchingCommands = $matchingCommands; parent::__construct($message, $code, $previousException); }
public function __construct($message, $code = 0) { parent::__construct($message, $code); }