| @@ 93-113 (lines=21) @@ | ||
| 90 | * @param Helper $helper |
|
| 91 | * @param Container $container |
|
| 92 | */ |
|
| 93 | public function __construct( |
|
| 94 | Config $config, |
|
| 95 | ModelManager $modelManager, |
|
| 96 | Enlight_Components_Db_Adapter_Pdo_Mysql $db, |
|
| 97 | \Shopware_Plugins_Backend_SwagConnect_Bootstrap $pluginBootstrap, |
|
| 98 | \Enlight_Event_EventManager $eventManager, |
|
| 99 | SDK $SDK, |
|
| 100 | ConnectFactory $connectFactory, |
|
| 101 | Helper $helper, |
|
| 102 | Container $container |
|
| 103 | ) { |
|
| 104 | $this->config = $config; |
|
| 105 | $this->modelManager = $modelManager; |
|
| 106 | $this->db = $db; |
|
| 107 | $this->pluginBootstrap = $pluginBootstrap; |
|
| 108 | $this->eventManager = $eventManager; |
|
| 109 | $this->SDK = $SDK; |
|
| 110 | $this->connectFactory = $connectFactory; |
|
| 111 | $this->helper = $helper; |
|
| 112 | $this->container = $container; |
|
| 113 | } |
|
| 114 | ||
| 115 | public function registerSubscribers() |
|
| 116 | { |
|
| @@ 79-97 (lines=19) @@ | ||
| 76 | */ |
|
| 77 | private $pluginPath; |
|
| 78 | ||
| 79 | public function __construct( |
|
| 80 | Gateway $connectGateway, |
|
| 81 | ModelManager $modelManager, |
|
| 82 | ConnectExport $connectExport, |
|
| 83 | Helper $helper, |
|
| 84 | Config $config, |
|
| 85 | SDK $sdk, |
|
| 86 | \Shopware_Components_Snippet_Manager $snippetManager, |
|
| 87 | $pluginPath |
|
| 88 | ) { |
|
| 89 | $this->connectGateway = $connectGateway; |
|
| 90 | $this->modelManager = $modelManager; |
|
| 91 | $this->connectExport = $connectExport; |
|
| 92 | $this->helper = $helper; |
|
| 93 | $this->config = $config; |
|
| 94 | $this->sdk = $sdk; |
|
| 95 | $this->snippetManager = $snippetManager; |
|
| 96 | $this->pluginPath = $pluginPath; |
|
| 97 | } |
|
| 98 | ||
| 99 | /** |
|
| 100 | * {@inheritdoc} |
|