src/Console/Buffer.php
public function appendBuffer(Buffer $buf, $indent = 0)
    {
        if ($indent) {
            $this->setIndent($indent);
            $lines = $buf->lines();
            foreach ($lines as $line) {
                $this->appendLine($line);
            }
        } else {
            $this->content .= $buf->__toString();
        }
    }
public function appendBuffer(Buffer $buf, $indent = 0)
    {
        if ($indent) {
            $this->setIndent($indent);
            $lines = $buf->lines();
            foreach ($lines as $line) {
                $this->appendLine($line);
            }
        } else {
            $this->content .= $buf->__toString();
        }
    }
public function appendBuffer ( Buffer $ buf , $ indent = 0 ) { if ( $ indent ) { $ this -> setIndent ( $ indent ) ; $ lines = $ buf -> lines ( ) ; foreach ( $ lines as $ line ) { $ this -> appendLine ( $ line ) ; } } else { $ this -> content .= $ buf -> __toString ( ) ; } }
Append a buffer object

@param Buffer $buf
@param int $indent = 0
Append a buffer object