[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/vendor/symfony/console/Event/ -> ConsoleErrorEvent.php (summary)

Allows to handle throwables thrown while running a command.

Author: Wouter de Jong <wouter@wouterj.nl>
File Size: 83 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 5 functions

  __construct()
  getError()
  setError()
  setExitCode()
  getExitCode()

Functions
Functions that are not part of a class:

__construct(InputInterface $input, OutputInterface $output, $error, Command $command = null)   X-Ref
No description

getError()   X-Ref
Returns the thrown error/exception.

return: \Throwable

setError($error)   X-Ref
Replaces the thrown error/exception.

param: \Throwable $error

setExitCode($exitCode)   X-Ref
Sets the exit code.

param: int $exitCode The command exit code

getExitCode()   X-Ref
Gets the exit code.

return: int The command exit code



Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1