Class Guzzle\Http\AbstractEntityBodyDecorator

InheritanceGuzzle\Http\AbstractEntityBodyDecorator
ImplementsGuzzle\Http\EntityBodyInterface
SubclassesGuzzle\Http\CachingEntityBody, Guzzle\Http\IoEmittingEntityBody, Guzzle\Http\ReadLimitEntityBody

Abstract decorator used to wrap entity bodies

Protected Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$body Guzzle\Http\EntityBodyInterface Decorated entity body Guzzle\Http\AbstractEntityBodyDecorator

Public Methods

Hide inherited methods

MethodDescriptionDefined By
__call() Allow decorators to implement custom methods Guzzle\Http\AbstractEntityBodyDecorator
__construct() Guzzle\Http\AbstractEntityBodyDecorator
__toString() Guzzle\Http\AbstractEntityBodyDecorator
close() Guzzle\Http\AbstractEntityBodyDecorator
compress() Guzzle\Http\AbstractEntityBodyDecorator
detachStream() Guzzle\Http\AbstractEntityBodyDecorator
feof() Alias of isConsumed() {@inheritdoc} Guzzle\Http\AbstractEntityBodyDecorator
ftell() Guzzle\Http\AbstractEntityBodyDecorator
getContentEncoding() Guzzle\Http\AbstractEntityBodyDecorator
getContentLength() Guzzle\Http\AbstractEntityBodyDecorator
getContentMd5() Guzzle\Http\AbstractEntityBodyDecorator
getContentType() Guzzle\Http\AbstractEntityBodyDecorator
getCustomData() Guzzle\Http\AbstractEntityBodyDecorator
getMetaData() Guzzle\Http\AbstractEntityBodyDecorator
getSize() Guzzle\Http\AbstractEntityBodyDecorator
getStream() Guzzle\Http\AbstractEntityBodyDecorator
getStreamType() Guzzle\Http\AbstractEntityBodyDecorator
getUri() Guzzle\Http\AbstractEntityBodyDecorator
getWrapper() Guzzle\Http\AbstractEntityBodyDecorator
getWrapperData() Guzzle\Http\AbstractEntityBodyDecorator
isConsumed() Guzzle\Http\AbstractEntityBodyDecorator
isLocal() Guzzle\Http\AbstractEntityBodyDecorator
isReadable() Guzzle\Http\AbstractEntityBodyDecorator
isRepeatable() Guzzle\Http\AbstractEntityBodyDecorator
isSeekable() Guzzle\Http\AbstractEntityBodyDecorator
isWritable() Guzzle\Http\AbstractEntityBodyDecorator
read() Guzzle\Http\AbstractEntityBodyDecorator
readLine() Guzzle\Http\AbstractEntityBodyDecorator
rewind() Guzzle\Http\AbstractEntityBodyDecorator
seek() Guzzle\Http\AbstractEntityBodyDecorator
setCustomData() Guzzle\Http\AbstractEntityBodyDecorator
setRewindFunction() Guzzle\Http\AbstractEntityBodyDecorator
setSize() Guzzle\Http\AbstractEntityBodyDecorator
setStream() Guzzle\Http\AbstractEntityBodyDecorator
uncompress() Guzzle\Http\AbstractEntityBodyDecorator
write() Guzzle\Http\AbstractEntityBodyDecorator

Property Details

$body protected property

Decorated entity body

Method Details

__call() public method

Allow decorators to implement custom methods

public mixed __call ( $method, array $args )
$method string

Missing method name

$args array

Method arguments

__construct() public method

public void __construct ( Guzzle\Http\EntityBodyInterface $body )
$body Guzzle\Http\EntityBodyInterface

Entity body to decorate

__toString() public method

public void __toString ( )
close() public method

public void close ( )
compress() public method

public void compress ( $filter 'zlib.deflate' )
$filter
detachStream() public method

public void detachStream ( )
feof() public method

Alias of isConsumed() {@inheritdoc}

public void feof ( )
ftell() public method

public void ftell ( )
getContentEncoding() public method

public void getContentEncoding ( )
getContentLength() public method

public void getContentLength ( )
getContentMd5() public method

public void getContentMd5 ( $rawOutput false, $base64Encode false )
$rawOutput
$base64Encode
getContentType() public method

public void getContentType ( )
getCustomData() public method

public void getCustomData ( $key )
$key
getMetaData() public method

public void getMetaData ( $key null )
$key
getSize() public method

public void getSize ( )
getStream() public method

public void getStream ( )
getStreamType() public method

public void getStreamType ( )
getUri() public method

public void getUri ( )
getWrapper() public method

public void getWrapper ( )
getWrapperData() public method

public void getWrapperData ( )
isConsumed() public method

public void isConsumed ( )
isLocal() public method

public void isLocal ( )
isReadable() public method

public void isReadable ( )
isRepeatable() public method

public void isRepeatable ( )
isSeekable() public method

public void isSeekable ( )
isWritable() public method

public void isWritable ( )
read() public method

public void read ( $length )
$length
readLine() public method

public void readLine ( $maxLength null )
$maxLength
rewind() public method

public void rewind ( )
seek() public method

public void seek ( $offset, $whence SEEK_SET )
$offset
$whence
setCustomData() public method

public void setCustomData ( $key, $value )
$key
$value
setRewindFunction() public method

public void setRewindFunction ( $callable )
$callable
setSize() public method

public void setSize ( $size )
$size
setStream() public method

public void setStream ( $stream, $size 0 )
$stream
$size
uncompress() public method

public void uncompress ( $filter 'zlib.inflate' )
$filter
write() public method

public void write ( $string )
$string