Метод | Описание | |
---|---|---|
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. |
public getPipedCommand ( ) : Clinner\Command\PipeableCommandInterface | ||
Результат | Clinner\Command\PipeableCommandInterface |
public hasPipedCommand ( ) : boolean | ||
Результат | boolean |
public pipe ( PipeableCommandInterface $anotherCommand, boolean $appendToPipe = true ) : Clinner\Command\PipingCommandInterface | ||
$anotherCommand | PipeableCommandInterface | The command to pipe. |
$appendToPipe | boolean | Whether $anotherCommand will be appended to the currently piped commands (TRUE) or if it will be added after this command, rearranging the commands pipe to include it. |
Результат | Clinner\Command\PipingCommandInterface | This instance, for a fluent API. |