Documentation

ConsoleTerminateEvent extends ConsoleEvent
in package

Allows to manipulate the exit code of a command after its execution.

Tags
author

Francesco Levorato git@flevour.net

Table of Contents

$command  : mixed
$exitCode  : mixed
$input  : mixed
$output  : mixed
__construct()  : mixed
getCommand()  : Command|null
Gets the command that is executed.
getExitCode()  : int
getInput()  : InputInterface
Gets the input instance.
getOutput()  : OutputInterface
Gets the output instance.
setExitCode()  : void

Properties

Methods

setExitCode()

public setExitCode(int $exitCode) : void
Parameters
$exitCode : int
Return values
void

Search results