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