Total Complexity | 4 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | abstract class AbstractWebhookCreator implements WebhookCreatorInterface |
||
14 | { |
||
15 | /** |
||
16 | * @var ShopifyApiFactory |
||
17 | */ |
||
18 | protected $apis; |
||
19 | |||
20 | /** |
||
21 | * @param ShopifyApiFactory $apis |
||
22 | */ |
||
23 | public function __construct(ShopifyApiFactory $apis) |
||
24 | { |
||
25 | $this->apis = $apis; |
||
26 | } |
||
27 | |||
28 | /** |
||
29 | * {@inheritdoc} |
||
30 | */ |
||
31 | public function listWebhooks(string $storeName) |
||
36 | } |
||
37 | |||
38 | /** |
||
39 | * {@inheritdoc} |
||
40 | */ |
||
41 | public function deleteAllWebhooks(string $storeName) |
||
50 |