src/Weew/Console/OutputBuffer.php
public function slice($from, $length = null) {
        if ($length === null) {
            return substr($this->buffer, $from);
        }

        return substr($this->buffer, $from, $length);
    }
public function slice($from, $length = null) {
        if ($length === null) {
            return substr($this->buffer, $from);
        }

        return substr($this->buffer, $from, $length);
    }
public function slice ( $ from , $ length = null ) { if ( $ length === null ) { return substr ( $ this -> buffer , $ from ) ; } return substr ( $ this -> buffer , $ from , $ length ) ; }
Get a slice from the buffer.

@param int $from
@param int $length

@return string|false
Get a slice from the buffer .