src/Weew/Console/OutputBuffer.php
public function write($string) {
        if ( ! is_array($string)) {
            $string = [$string];
        }

        foreach ($string as $item) {
            $this->buffer .= $item;
        }
    }
public function write($string) {
        if ( ! is_array($string)) {
            $string = [$string];
        }

        foreach ($string as $item) {
            $this->buffer .= $item;
        }
    }
public function write ( $ string ) { if ( ! is_array ( $ string ) ) { $ string = [ $ string ] ; } foreach ( $ string as $ item ) { $ this -> buffer .= $ item ; } }
Add a string to buffer.

@param string $string
Add a string to buffer .