Total Complexity | 3 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class WebhookCreatorRemote extends AbstractWebhookCreator |
||
14 | { |
||
15 | /** |
||
16 | * @var string |
||
17 | */ |
||
18 | private $webhookUrl; |
||
19 | |||
20 | /** |
||
21 | * @param ShopifyApiFactory $apis |
||
22 | * @param string $webhookUrl |
||
23 | */ |
||
24 | public function __construct(ShopifyApiFactory $apis, $webhookUrl) |
||
25 | { |
||
26 | $this->webhookUrl = $webhookUrl; |
||
27 | |||
28 | parent::__construct($apis); |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * {@inheritdoc} |
||
33 | */ |
||
34 | public function createWebhooks(string $storeName, array $topics) |
||
46 | } |
||
47 | } |
||
49 |