ConsoleAlarmEvent
extends ConsoleEvent
in package
FinalYes
Allows to inspect input and output of a command.
Table of Contents
Properties
Methods
- __construct() : mixed
- abortExit() : void
- getCommand() : Command|null
- Gets the command that is executed.
- getExitCode() : int|false
- getInput() : InputInterface
- Gets the input instance.
- getOutput() : OutputInterface
- Gets the output instance.
- setExitCode() : void
Properties
$command
protected
Command|null
$command
$exitCode
private
int|false
$exitCode
= 0
Methods
__construct()
public
__construct(Command $command, InputInterface $input, OutputInterface $output[, int|false $exitCode = 0 ]) : mixed
Parameters
- $command : Command
- $input : InputInterface
- $output : OutputInterface
- $exitCode : int|false = 0
abortExit()
public
abortExit() : void
getCommand()
Gets the command that is executed.
public
getCommand() : Command|null
Return values
Command|nullgetExitCode()
public
getExitCode() : int|false
Return values
int|falsegetInput()
Gets the input instance.
public
getInput() : InputInterface
Return values
InputInterfacegetOutput()
Gets the output instance.
public
getOutput() : OutputInterface
Return values
OutputInterfacesetExitCode()
public
setExitCode(int $exitCode) : void
Parameters
- $exitCode : int