public function addInput($input, $silent = false)
    {
        foreach ((array) $input as $line) {
            $this->inputBuffer[] = $silent ? new SilentInput($line) : $line;
        }
    }
public function addInput($input, $silent = false)
    {
        foreach ((array) $input as $line) {
            $this->inputBuffer[] = $silent ? new SilentInput($line) : $line;
        }
    }
public function addInput ( $ input , $ silent = false ) { foreach ( ( array ) $ input as $ line ) { $ this -> inputBuffer [ ] = $ silent ? new SilentInput ( $ line ) : $ line ; } }
Inject input into the input buffer.

This is useful for commands which want to replay history.

@param string|array $input
@param bool         $silent
Inject input into the input buffer .