TYPO3  7.6
Public Member Functions | Protected Attributes | Private Attributes | List of all members
ConsoleEvent Class Reference
Inheritance diagram for ConsoleEvent:
ConsoleCommandEvent ConsoleExceptionEvent ConsoleTerminateEvent

Public Member Functions

 __construct (Command $command, InputInterface $input, OutputInterface $output)
 
 getCommand ()
 
 getInput ()
 
 getOutput ()
 

Protected Attributes

 $command
 

Private Attributes

 $input
 
 $output
 

Detailed Description

Allows to inspect input and output of a command.

Author
Francesco Levorato git@f.nosp@m.levo.nosp@m.ur.ne.nosp@m.t

Definition at line 24 of file ConsoleEvent.php.

Constructor & Destructor Documentation

__construct ( Command  $command,
InputInterface  $input,
OutputInterface  $output 
)

Definition at line 31 of file ConsoleEvent.php.

References ConsoleEvent\$command, ConsoleEvent\$input, and ConsoleEvent\$output.

Member Function Documentation

getCommand ( )

Gets the command that is executed.

Returns
Command A Command instance

Definition at line 43 of file ConsoleEvent.php.

References ConsoleEvent\$command.

getInput ( )

Gets the input instance.

Returns
InputInterface An InputInterface instance

Definition at line 53 of file ConsoleEvent.php.

References ConsoleEvent\$input.

getOutput ( )

Gets the output instance.

Returns
OutputInterface An OutputInterface instance

Definition at line 63 of file ConsoleEvent.php.

References ConsoleEvent\$output.

Referenced by ApplicationTest\getDispatcher().

Member Data Documentation

$command
protected

Definition at line 26 of file ConsoleEvent.php.

Referenced by ConsoleEvent\__construct(), and ConsoleEvent\getCommand().

$input
private

Definition at line 28 of file ConsoleEvent.php.

Referenced by ConsoleEvent\__construct(), and ConsoleEvent\getInput().

$output
private

Definition at line 29 of file ConsoleEvent.php.

Referenced by ConsoleEvent\__construct(), and ConsoleEvent\getOutput().