Property | Type | Description | |
---|---|---|---|
$remoteStream | Remote stream used to actually pull data onto the buffer | ||
$skipReadBytes | The number of bytes to skip reading due to a write on the temporary buffer |
Method | Description | |
---|---|---|
__construct ( Guzzle\Http\EntityBodyInterface $body ) | We will treat the buffer object as the body of the entity body {@inheritdoc} | |
__toString ( ) : string | Will give the contents of the buffer followed by the exhausted remote stream. | |
close ( ) | Close both the remote stream and buffer stream | |
getContentEncoding ( ) | ||
getContentType ( ) | ||
getCustomData ( $key ) | Always retrieve custom data from the remote stream {@inheritdoc} | |
getMetaData ( $key = null ) | ||
getSize ( ) | ||
getStream ( ) | ||
getStreamType ( ) | ||
getUri ( ) | ||
getWrapper ( ) | ||
getWrapperData ( ) | ||
isConsumed ( ) | ||
read ( $length ) | ||
readLine ( $maxLength = null ) | ||
rewind ( ) | ||
seek ( $offset, $whence = SEEK_SET ) | ||
setCustomData ( $key, $value ) | Always set custom data on the remote stream {@inheritdoc} | |
setRewindFunction ( $callable ) | Does not support custom rewind functions | |
setStream ( $stream, $size ) | ||
write ( $string ) |
public __construct ( Guzzle\Http\EntityBodyInterface $body ) | ||
$body | Guzzle\Http\EntityBodyInterface |
public __toString ( ) : string | ||
return | string |
public getCustomData ( $key ) |
public setCustomData ( $key, $value ) |
public setRewindFunction ( $callable ) |
protected $remoteStream |