| @@ 78-92 (lines=15) @@ | ||
| 75 | * @param Config $config |
|
| 76 | * @param SDK $sdk |
|
| 77 | */ |
|
| 78 | public function __construct( |
|
| 79 | Gateway $connectGateway, |
|
| 80 | ModelManager $modelManager, |
|
| 81 | ConnectExport $connectExport, |
|
| 82 | Helper $helper, |
|
| 83 | Config $config, |
|
| 84 | SDK $sdk |
|
| 85 | ) { |
|
| 86 | $this->connectGateway = $connectGateway; |
|
| 87 | $this->modelManager = $modelManager; |
|
| 88 | $this->connectExport = $connectExport; |
|
| 89 | $this->helper = $helper; |
|
| 90 | $this->config = $config; |
|
| 91 | $this->sdk = $sdk; |
|
| 92 | } |
|
| 93 | ||
| 94 | /** |
|
| 95 | * {@inheritdoc} |
|
| @@ 56-68 (lines=13) @@ | ||
| 53 | * @param SDK $sdk |
|
| 54 | * @param Enlight_Components_Db_Adapter_Pdo_Mysql $db |
|
| 55 | */ |
|
| 56 | public function __construct( |
|
| 57 | ConnectExport $connectExport, |
|
| 58 | Config $config, |
|
| 59 | Helper $helper, |
|
| 60 | SDK $sdk, |
|
| 61 | Enlight_Components_Db_Adapter_Pdo_Mysql $db |
|
| 62 | ) { |
|
| 63 | $this->connectExport = $connectExport; |
|
| 64 | $this->config = $config; |
|
| 65 | $this->helper = $helper; |
|
| 66 | $this->sdk = $sdk; |
|
| 67 | $this->db = $db; |
|
| 68 | } |
|
| 69 | ||
| 70 | /** |
|
| 71 | * {@inheritdoc} |
|
| @@ 67-80 (lines=14) @@ | ||
| 64 | * @param Config $config |
|
| 65 | * @param ConnectExport $connectExport |
|
| 66 | */ |
|
| 67 | public function __construct( |
|
| 68 | ModelManager $modelManager, |
|
| 69 | Helper $helper, |
|
| 70 | SDK $sdk, |
|
| 71 | Config $config, |
|
| 72 | ConnectExport $connectExport |
|
| 73 | ) { |
|
| 74 | $this->manager = $modelManager; |
|
| 75 | $this->helper = $helper; |
|
| 76 | $this->sdk = $sdk; |
|
| 77 | $this->config = $config; |
|
| 78 | $this->connectExport = $connectExport; |
|
| 79 | $this->autoUpdateProducts = $this->config->getConfig('autoUpdateProducts', 1); |
|
| 80 | } |
|
| 81 | ||
| 82 | /** |
|
| 83 | * {@inheritdoc} |
|