public function pipeOutputTo(Command $cmd) : void
    {
        if (!$this->canPipe()) {
            throw new RuntimeException('Can\'t pipe output');
        }
        $this->pipeline[] = $cmd;
    }
public function pipeOutputTo(Command $cmd) : void
    {
        if (!$this->canPipe()) {
            throw new RuntimeException('Can\'t pipe output');
        }
        $this->pipeline[] = $cmd;
    }
public function pipeOutputTo ( Command $ cmd ) : void { if ( ! $ this -> canPipe ( ) ) { throw new RuntimeException ( 'Can\'t pipe output' ) ; } $ this -> pipeline [ ] = $ cmd ; }
Pipe the command into given command

@param  \SebastianFeldmann\Cli\Command $cmd
@return void
Pipe the command into given command