Метод |
Описание |
|
getErrorOutput ( ) : string |
Get the output for this command's execution. |
|
getExitCode ( ) : integer |
Get the exit code for this command's execution. |
|
getOutput ( ) : string |
Get the output for this command's execution. |
|
getPipedCommand ( ) : Clinner\Command\PipeableCommandInterface |
Get the command piped to this one, if any. |
|
hasPipedCommand ( ) : boolean |
Answer whether this command has a command piped to it. |
|
pipe ( PipeableCommandInterface $anotherCommand, boolean $appendToPipe = true ) : Clinner\Command\PipingCommandInterface |
Pipe $anotherCommand to this one, so that this command's output is directly
sent to $anotherCommand's standard input. |
|
run ( string $input = null ) : Clinner\Command\CommandInterface |
Run this command and get the exit code for it. |
|
toCommandString ( ) : string |
Get a string representing this command. |
|