\Symfony\Component\Console\EventConsoleErrorEvent

Allows to handle throwables thrown while running a command.

Summary

Methods
Properties
Constants
__construct()
getCommand()
getInput()
getOutput()
getError()
setError()
setExitCode()
getExitCode()
No public properties found
No constants found
No protected methods found
$command
N/A
No private methods found
$input
$output
$error
$exitCode
N/A

Properties

$command

$command : 

Type

$input

$input : 

Type

$output

$output : 

Type

$error

$error : 

Type

$exitCode

$exitCode : 

Type

Methods

getError()

getError() 

setError()

setError(\Throwable  $error) 

Parameters

\Throwable $error

setExitCode()

setExitCode(\Symfony\Component\Console\Event\int  $exitCode) 

Parameters

\Symfony\Component\Console\Event\int $exitCode

getExitCode()

getExitCode()