Overview

Namespaces

  • Contrib
    • Bundle
      • CoverallsBundle
        • Console
        • Entity
      • CoverallsV1Bundle
        • Api
        • Collector
        • Command
        • Config
        • Entity
          • Git
    • Component
      • File
      • Log
      • System
        • Git
  • Guzzle
    • Batch
      • Exception
    • Cache
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
      • QueryAggregator
    • Inflection
    • Iterator
    • Log
    • Parser
      • Cookie
      • Message
      • UriTemplate
      • Url
    • Plugin
      • Async
      • Backoff
      • Cache
      • Cookie
        • CookieJar
        • Exception
      • CurlAuth
      • ErrorResponse
        • Exception
      • History
      • Log
      • Md5
      • Mock
      • Oauth
    • Service
      • Builder
      • Command
        • Factory
        • LocationVisitor
          • Request
          • Response
      • Description
      • Exception
      • Resource
    • Stream
  • PHP
  • Psr
    • Log
  • Symfony
    • Component
      • Config
        • Definition
          • Builder
          • Exception
        • Exception
        • Loader
        • Resource
        • Util
      • Console
        • Command
        • Formatter
        • Helper
        • Input
        • Output
        • Tester
      • EventDispatcher
        • Debug
      • Finder
        • Adapter
        • Comparator
        • Exception
        • Expression
        • Iterator
        • Shell
      • Stopwatch
      • Yaml
        • Exception

Classes

  • AbstractEntityBodyDecorator
  • CachingEntityBody
  • Client
  • EntityBody
  • IoEmittingEntityBody
  • Mimetypes
  • QueryString
  • ReadLimitEntityBody
  • RedirectPlugin
  • Url

Interfaces

  • ClientInterface
  • EntityBodyInterface
  • Overview
  • Namespace
  • Class
  • Tree
  • Todo

Class IoEmittingEntityBody

EntityBody decorator that emits events for read and write methods

Guzzle\Http\AbstractEntityBodyDecorator implements Guzzle\Http\EntityBodyInterface
Extended by Guzzle\Http\IoEmittingEntityBody implements Guzzle\Common\HasDispatcherInterface
Namespace: Guzzle\Http
Located at Guzzle/Http/IoEmittingEntityBody.php
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

Guzzle\Common\HasDispatcherInterface::getAllEvents()
public Guzzle\Common\HasDispatcherInterface
# setEventDispatcher( Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher )

Set the EventDispatcher of the request

Set the EventDispatcher of the request

Parameters

$eventDispatcher
Symfony\Component\EventDispatcher\EventDispatcherInterface
$eventDispatcher

Returns

Guzzle\Common\HasDispatcherInterface

CodeCoverageIgnore

Implementation of

Guzzle\Common\HasDispatcherInterface::setEventDispatcher()
public Symfony\Component\EventDispatcher\EventDispatcherInterface
# getEventDispatcher( )

Get the EventDispatcher of the request

Get the EventDispatcher of the request

Returns

Symfony\Component\EventDispatcher\EventDispatcherInterface

Implementation of

Guzzle\Common\HasDispatcherInterface::getEventDispatcher()
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

Guzzle\Common\HasDispatcherInterface::dispatch()
public AbstractHasDispatcher
# addSubscriber( Symfony\Component\EventDispatcher\EventSubscriberInterface $subscriber )

Add an event subscriber to the dispatcher

Add an event subscriber to the dispatcher

Parameters

$subscriber
Symfony\Component\EventDispatcher\EventSubscriberInterface
$subscriber Event subscriber

Returns

AbstractHasDispatcher

CodeCoverageIgnore

Implementation of

Guzzle\Common\HasDispatcherInterface::addSubscriber()
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

Guzzle\Http\AbstractEntityBodyDecorator::read()
public integer|boolean
# write( string $string )

Write data to the stream

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

Guzzle\Http\AbstractEntityBodyDecorator::write()
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()
Properties summary
protected Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher
#
Properties inherited from Guzzle\Http\AbstractEntityBodyDecorator
$body
php-coveralls API documentation generated by ApiGen 2.8.0