src/sb/Telnet.php
public function getBuffer() {
        // cut last line (is always prompt)
        $buf = explode("\n", $this->buffer);
        unset($buf[count($buf) - 1]);
        $buf = implode("\n", $buf);
        return trim($buf);
    }
public function getBuffer() {
        // cut last line (is always prompt)
        $buf = explode("\n", $this->buffer);
        unset($buf[count($buf) - 1]);
        $buf = implode("\n", $buf);
        return trim($buf);
    }
public function getBuffer ( ) { // cut last line (is always prompt) $ buf = explode ( "\n" , $ this -> buffer ) ; unset ( $ buf [ count ( $ buf ) - 1 ] ) ; $ buf = implode ( "\n" , $ buf ) ; return trim ( $ buf ) ; }
Returns the content of the command buffer

@return string Content of the command buffer
Returns the content of the command buffer