Total Complexity | 2 |
Total Lines | 42 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class ShopifyApiFactory |
||
11 | { |
||
12 | /** |
||
13 | * @var ShopifyStoreManagerInterface |
||
14 | */ |
||
15 | private $storeManager; |
||
16 | |||
17 | /** |
||
18 | * @var HttpClientFactoryInterface |
||
19 | */ |
||
20 | private $httpClientFactory; |
||
21 | |||
22 | /** |
||
23 | * @var string |
||
24 | */ |
||
25 | private $apiVersion; |
||
26 | |||
27 | /** |
||
28 | * @param ShopifyStoreManagerInterface $storeManager |
||
29 | * @param HttpClientFactoryInterface $httpClientFactory |
||
30 | * @param string $apiVersion |
||
31 | */ |
||
32 | public function __construct( |
||
40 | } |
||
41 | |||
42 | /** |
||
43 | * @param string $storeName |
||
44 | * @return ShopifyApi |
||
45 | */ |
||
46 | public function getForStore($storeName) |
||
54 |