@@ 74-90 (lines=17) @@ | ||
71 | * @param ChunkSizeCalculatorInterface $chunkSizeCalculator |
|
72 | * @param null $name |
|
73 | */ |
|
74 | public function __construct( |
|
75 | TimerInterface $timer, |
|
76 | CustomerIdsProviderInterface $customerIdsProvider, |
|
77 | Factory $loopFactory, |
|
78 | ProcessFactory $processFactory, |
|
79 | Json $jsonHandler, |
|
80 | ChunkSizeCalculatorInterface $chunkSizeCalculator, |
|
81 | $name = null |
|
82 | ) { |
|
83 | parent::__construct($name); |
|
84 | $this->timer = $timer; |
|
85 | $this->customerIdsProvider = $customerIdsProvider; |
|
86 | $this->loop = $loopFactory::create(); |
|
87 | $this->processFactory = $processFactory; |
|
88 | $this->jsonHandler = $jsonHandler; |
|
89 | $this->chunkSizeCalculator = $chunkSizeCalculator; |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * {@inheritdoc} |
@@ 85-103 (lines=19) @@ | ||
82 | * @param ChunkSizeCalculatorInterface $chunkSizeCalculator |
|
83 | * @param null $name |
|
84 | */ |
|
85 | public function __construct( |
|
86 | TimerInterface $timer, |
|
87 | CustomerIdsProviderInterface $customerIdsProvider, |
|
88 | Factory $loopFactory, |
|
89 | ClientFactory $clientFactory, |
|
90 | Json $jsonHandler, |
|
91 | StoreManagerInterface $storeManager, |
|
92 | ChunkSizeCalculatorInterface $chunkSizeCalculator, |
|
93 | $name = null |
|
94 | ) { |
|
95 | parent::__construct($name); |
|
96 | $this->timer = $timer; |
|
97 | $this->customerIdsProvider = $customerIdsProvider; |
|
98 | $this->loop = $loopFactory::create(); |
|
99 | $this->clientFactory = $clientFactory; |
|
100 | $this->jsonHandler = $jsonHandler; |
|
101 | $this->storeManager = $storeManager; |
|
102 | $this->chunkSizeCalculator = $chunkSizeCalculator; |
|
103 | } |
|
104 | ||
105 | /** |
|
106 | * {@inheritdoc} |