1 | <?php |
||
12 | abstract class AbstractServiceBuilder |
||
13 | { |
||
14 | /** @var null|ClientInterface */ |
||
15 | private $httpClient; |
||
16 | |||
17 | /** @var null|RequestFactoryInterface */ |
||
18 | private $requestFactory; |
||
19 | |||
20 | public function setHttpClient(ClientInterface $httpClient): void |
||
24 | |||
25 | public function setRequestFactory(RequestFactoryInterface $requestFactory): void |
||
29 | |||
30 | protected function getHttpClient(): ClientInterface |
||
34 | |||
35 | protected function getRequestFactory(): RequestFactoryInterface |
||
39 | } |
||
40 |