Class IoEmittingEntityBody
EntityBody decorator that emits events for read and write methods
-
Guzzle\Http\AbstractEntityBodyDecorator
implements
Guzzle\Http\EntityBodyInterface
-
Guzzle\Http\IoEmittingEntityBody
implements
Guzzle\Common\HasDispatcherInterface
Methods summary
public static
array
|
#
getAllEvents( )
Get a list of all of the events emitted from the class
Get a list of all of the events emitted from the class
Returns
array
Implementation of
|
public
Guzzle\Common\HasDispatcherInterface
|
|
public
Symfony\Component\EventDispatcher\EventDispatcherInterface
|
#
getEventDispatcher( )
Get the EventDispatcher of the request
Get the EventDispatcher of the request
Returns
Implementation of
|
public
|
#
dispatch( string $eventName, array $context = array() )
Helper to dispatch Guzzle events and set the event name on the event
Helper to dispatch Guzzle events and set the event name on the event
Parameters
- $eventName
string $eventName Name of the event to dispatch
- $context
array $context Context of the event
Implementation of
|
public
AbstractHasDispatcher
|
|
public
string|boolean
|
#
read( integer $length )
Read data from the stream
Read data from the stream
Parameters
- $length
integer $length Up to length number of bytes read.
Returns
string|boolean Returns the data read from the stream or FALSE on failure or EOF
Overrides
|
public
integer|boolean
|
#
write( string $string )
Write data to the stream
Parameters
- $string
string $string The string that is to be written.
Returns
integer|boolean Returns the number of bytes written to the stream on success or FALSE on
failure.
Overrides
|
Methods inherited from Guzzle\Http\AbstractEntityBodyDecorator
__call(),
__construct(),
__toString(),
close(),
compress(),
feof(),
ftell(),
getContentEncoding(),
getContentLength(),
getContentMd5(),
getContentType(),
getCustomData(),
getMetaData(),
getSize(),
getStream(),
getStreamType(),
getUri(),
getWrapper(),
getWrapperData(),
isConsumed(),
isLocal(),
isReadable(),
isSeekable(),
isWritable(),
readLine(),
rewind(),
seek(),
setCustomData(),
setRewindFunction(),
setSize(),
setStream(),
uncompress()
|