| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 44 | public function export(MagentoCustomer $magentoCustomer): void |
||
| 45 | { |
||
| 46 | $data = [ |
||
| 47 | 'magento_customer_id' => $magentoCustomer->getId(), |
||
| 48 | 'request' => $this->customerRequestBuilder->build($magentoCustomer) |
||
| 49 | ]; |
||
| 50 | |||
| 51 | $this->publisher->publish(Topics::CUSTOMER_EXPORT, json_encode($data)); |
||
|
|
|||
| 52 | } |
||
| 54 |