Class ServiceBuilder
Class that holds an event dispatcher
Clients and data can be set, retrieved, and removed by accessing the service builder like an associative array.
- Guzzle\Common\AbstractHasDispatcher implements Guzzle\Common\HasDispatcherInterface
- Guzzle\Service\Builder\ServiceBuilder implements Guzzle\Service\Builder\ServiceBuilderInterface, ArrayAccess, Serializable
public static
|
|
public
|
|
public static
array
|
|
public
|
|
public
|
|
public
|
#
addGlobalPlugin( Symfony\Component\EventDispatcher\EventSubscriberInterface $plugin )
Attach a plugin to every client created by the builder |
public
array|null
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
addSubscriber(),
dispatch(),
getEventDispatcher(),
setEventDispatcher()
|
protected
array
|
$builderConfig
Service builder configuration data |
#
array()
|
protected
array
|
$clients
Instantiated client objects |
#
array()
|
protected static
|
$cachedFactory
Cached instance of the service builder loader |
|
protected
array
|
$plugins
Plugins to attach to each client created by the service builder |
#
array()
|
$eventDispatcher
|