Interface ServiceBuilderInterface
Service builder to generate service builders and service clients from
configuration settings
Methods summary
public
Guzzle\Common\FromConfigInterface
|
#
get( string $name, boolean|array $throwAway = false )
Get a service using a registered builder
Get a service using a registered builder
Parameters
- $name
string $name Name of the registered client to retrieve
- $throwAway
boolean|array $throwAway Set to TRUE to not store the client for later retrieval from the
ServiceBuilder. If an array is specified, that data will overwrite the
configured params
Returns
Throws
|
public
Guzzle\Service\Builder\ServiceBuilderInterface
|
#
set( string $key, mixed $service )
Register a service by name with the service builder
Register a service by name with the service builder
Parameters
- $key
string $key Name of the client to register
- $service
mixed $service Service to register
Returns
|