Documentation

ConsoleTerminateEvent extends ConsoleEvent
in package

FinalYes

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

Tags
author

Francesco Levorato git@flevour.net

author

Jules Pietri jules@heahprod.com

Table of Contents

Properties

$command  : Command|null
$exitCode  : int
$interruptingSignal  : int|null

Methods

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

Properties

Methods


        
On this page

Search results