提交的内容
This commit is contained in:
19
vendor/guzzlehttp/guzzle-services/src/GuzzleClient.php
vendored
Executable file → Normal file
19
vendor/guzzlehttp/guzzle-services/src/GuzzleClient.php
vendored
Executable file → Normal file
@ -34,19 +34,16 @@ class GuzzleClient extends ServiceClient
|
||||
* - response_locations: Associative array of location types mapping to
|
||||
* ResponseLocationInterface objects.
|
||||
*
|
||||
* @param ClientInterface $client HTTP client to use.
|
||||
* @param DescriptionInterface $description Guzzle service description
|
||||
* @param callable $commandToRequestTransformer
|
||||
* @param callable $responseToResultTransformer
|
||||
* @param HandlerStack $commandHandlerStack
|
||||
* @param array $config Configuration options
|
||||
* @param ClientInterface $client HTTP client to use.
|
||||
* @param DescriptionInterface $description Guzzle service description
|
||||
* @param array $config Configuration options
|
||||
*/
|
||||
public function __construct(
|
||||
ClientInterface $client,
|
||||
DescriptionInterface $description,
|
||||
callable $commandToRequestTransformer = null,
|
||||
callable $responseToResultTransformer = null,
|
||||
HandlerStack $commandHandlerStack = null,
|
||||
?callable $commandToRequestTransformer = null,
|
||||
?callable $responseToResultTransformer = null,
|
||||
?HandlerStack $commandHandlerStack = null,
|
||||
array $config = []
|
||||
) {
|
||||
$this->config = $config;
|
||||
@ -99,7 +96,7 @@ class GuzzleClient extends ServiceClient
|
||||
*
|
||||
* @param callable|null $commandToRequestTransformer
|
||||
*
|
||||
* @return \GuzzleHttp\Command\Guzzle\Serializer
|
||||
* @return Serializer
|
||||
*/
|
||||
private function getSerializer($commandToRequestTransformer)
|
||||
{
|
||||
@ -113,7 +110,7 @@ class GuzzleClient extends ServiceClient
|
||||
*
|
||||
* @param callable|null $responseToResultTransformer
|
||||
*
|
||||
* @return \GuzzleHttp\Command\Guzzle\Deserializer
|
||||
* @return Deserializer
|
||||
*/
|
||||
private function getDeserializer($responseToResultTransformer)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user