1
0
mirror of https://github.com/guzzle/guzzle.git synced 2025-02-25 10:33:18 +01:00

Merge pull request #274 from jeremeamia/master

Updating the interface docblock for the previous ServiceBuilder change
This commit is contained in:
Michael Dowling 2013-03-27 15:49:53 -07:00
commit e4ced531e8

View File

@ -13,8 +13,9 @@ interface ServiceBuilderInterface
/**
* Get a service using a registered builder
*
* @param string $name Name of the registered client to retrieve
* @param bool $throwAway Set to TRUE to not store the client for later retrieval from the ServiceBuilder
* @param string $name Name of the registered client to retrieve
* @param bool|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
*
* @return FromConfigInterface
* @throws ServiceNotFoundException when a client cannot be found by name