Class Guzzle\Http\IoEmittingEntityBody

InheritanceGuzzle\Http\IoEmittingEntityBody » Guzzle\Http\AbstractEntityBodyDecorator
ImplementsGuzzle\Common\HasDispatcherInterface, Guzzle\Http\EntityBodyInterface

EntityBody decorator that emits events for read and write methods

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
addSubscriber() {@inheritdoc} Guzzle\Http\IoEmittingEntityBody
close() Guzzle\Http\AbstractEntityBodyDecorator
compress() Guzzle\Http\AbstractEntityBodyDecorator
detachStream() Guzzle\Http\AbstractEntityBodyDecorator
dispatch() Guzzle\Http\IoEmittingEntityBody
feof() Alias of isConsumed() {@inheritdoc} Guzzle\Http\AbstractEntityBodyDecorator
ftell() Guzzle\Http\AbstractEntityBodyDecorator
getAllEvents() Guzzle\Http\IoEmittingEntityBody
getContentEncoding() Guzzle\Http\AbstractEntityBodyDecorator
getContentLength() Guzzle\Http\AbstractEntityBodyDecorator
getContentMd5() Guzzle\Http\AbstractEntityBodyDecorator
getContentType() Guzzle\Http\AbstractEntityBodyDecorator
getCustomData() Guzzle\Http\AbstractEntityBodyDecorator
getEventDispatcher() Guzzle\Http\IoEmittingEntityBody
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\IoEmittingEntityBody
readLine() Guzzle\Http\AbstractEntityBodyDecorator
rewind() Guzzle\Http\AbstractEntityBodyDecorator
seek() Guzzle\Http\AbstractEntityBodyDecorator
setCustomData() Guzzle\Http\AbstractEntityBodyDecorator
setEventDispatcher() {@inheritdoc} Guzzle\Http\IoEmittingEntityBody
setRewindFunction() Guzzle\Http\AbstractEntityBodyDecorator
setSize() Guzzle\Http\AbstractEntityBodyDecorator
setStream() Guzzle\Http\AbstractEntityBodyDecorator
uncompress() Guzzle\Http\AbstractEntityBodyDecorator
write() Guzzle\Http\IoEmittingEntityBody

Property Details

$eventDispatcher protected property

Method Details

addSubscriber() public method

{@inheritdoc}

public void addSubscriber ( Symfony\Component\EventDispatcher\EventSubscriberInterface $subscriber )
$subscriber
dispatch() public method

public void dispatch ( $eventName, array $context = [] )
$eventName
$context
getAllEvents() public static method

public static void getAllEvents ( )
getEventDispatcher() public method

public void getEventDispatcher ( )
read() public method

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

{@inheritdoc}

public void setEventDispatcher ( Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher )
$eventDispatcher
write() public method

public void write ( $string )
$string