[ Index ]

PHP Cross Reference of phpBB-3.1.12-deutsch

title

Body

[close]

/vendor/symfony/console/Symfony/Component/Console/Event/ -> ConsoleExceptionEvent.php (summary)

(no description)

File Size: 67 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

ConsoleExceptionEvent:: (4 methods):
  __construct()
  getException()
  setException()
  getExitCode()


Class: ConsoleExceptionEvent  - X-Ref

Allows to handle exception thrown in a command.

__construct(Command $command, InputInterface $input, OutputInterface $output, \Exception $exception, $exitCode)   X-Ref
No description

getException()   X-Ref
Returns the thrown exception.

return: \Exception The thrown exception

setException(\Exception $exception)   X-Ref
Replaces the thrown exception.

This exception will be thrown if no response is set in the event.

param: \Exception $exception The thrown exception

getExitCode()   X-Ref
Gets the exit code.

return: int The command exit code



Generated: Thu Jan 11 00:25:41 2018 Cross-referenced by PHPXref 0.7.1