1 | <?php |
||
16 | class GuzzleClientFactory implements ContainerAwareInterface |
||
17 | { |
||
18 | /** |
||
19 | * @var ContainerInterface |
||
20 | */ |
||
21 | protected $container; |
||
22 | |||
23 | /** |
||
24 | * @var SerializerInterface|\JMS\Serializer\SerializerInterface |
||
25 | */ |
||
26 | protected $serializer; |
||
27 | |||
28 | /** |
||
29 | * @param SerializerInterface|\JMS\Serializer\SerializerInterface $serializer |
||
30 | */ |
||
31 | public function __construct($serializer) |
||
35 | |||
36 | public function getClient(string $clientId): GuzzleClient |
||
46 | |||
47 | protected function extractResponseClasses(array &$config): array |
||
63 | |||
64 | /** |
||
65 | * {@inheritdoc} |
||
66 | */ |
||
67 | public function setContainer(ContainerInterface $container = null): void |
||
71 | } |
||
72 |