Definition at line 18 of file ClientFactory.php.
◆ createGuzzleClient()
Commercetools\Client\ClientFactory::createGuzzleClient |
( |
Config |
$config, |
|
|
?AuthConfig |
$authConfig = null , |
|
|
?LoggerInterface |
$logger = null , |
|
|
array |
$middlewares = [] |
|
) |
| |
@psalm-param array<string, callable> $middlewares
- Exceptions
-
Definition at line 24 of file ClientFactory.php.
◆ createGuzzleClientForHandler()
Commercetools\Client\ClientFactory::createGuzzleClientForHandler |
( |
Config |
$config, |
|
|
?OAuth2Handler |
$handler = null , |
|
|
?LoggerInterface |
$logger = null , |
|
|
array |
$middlewares = [] |
|
) |
| |
@psalm-param array<string, callable> $middlewares
- Exceptions
-
Definition at line 38 of file ClientFactory.php.
◆ createGuzzleClientForMiddlewares()
Commercetools\Client\ClientFactory::createGuzzleClientForMiddlewares |
( |
Config |
$config, |
|
|
array |
$middlewares = [] |
|
) |
| |
@psalm-param array<string, callable> $middlewares
- Exceptions
-
Definition at line 51 of file ClientFactory.php.
◆ of()
static Commercetools\Client\ClientFactory::of |
( |
| ) |
|
|
static |
The documentation for this class was generated from the following file: