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