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