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. |
return | Clinner\Command\PipingCommandInterface | This instance, for a fluent API. |
public function pipe(PipeableCommandInterface $anotherCommand, $appendToPipe = true);