| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 44 | public function execute(Observer $observer) |
||
| 45 | { |
||
| 46 | if (!$this->configHelper->isApiEnabled()) { |
||
| 47 | return; |
||
| 48 | } |
||
| 49 | |||
| 50 | /** @var MagentoCustomer $magentoCustomer */ |
||
| 51 | $magentoCustomer = $observer->getEvent()->getData('customer'); |
||
| 52 | |||
| 53 | $this->exportCustomerService->export($magentoCustomer); |
||
| 54 | } |
||
| 56 |