Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
ExportDataHandlerNotification.php
Go to the documentation of this file.
1 <?php
7 
12 {
16  private $exportDataHandler;
17 
21  private $analyticsConnector;
22 
27  public function __construct(ExportDataHandler $exportDataHandler, Connector $connector)
28  {
29  $this->exportDataHandler = $exportDataHandler;
30  $this->analyticsConnector = $connector;
31  }
32 
39  public function prepareExportData()
40  {
41  $result = $this->exportDataHandler->prepareExportData();
42  $this->analyticsConnector->execute('notifyDataChanged');
43  return $result;
44  }
45 }
__construct(ExportDataHandler $exportDataHandler, Connector $connector)