| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 13 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 38 | public function createAfterCheckout(OrderInterface $order): CustomerInterface  | 
            ||
| 39 |     { | 
            ||
| 40 | $guest = $order->getCustomer();  | 
            ||
| 41 | $address = $order->getBillingAddress();  | 
            ||
| 42 | |||
| 43 | $customer = $this->createNew();  | 
            ||
| 44 | $customer->setEmail($guest->getEmail());  | 
            ||
| 45 | $customer->setFirstName($address->getFirstName());  | 
            ||
| 46 | $customer->setLastName($address->getLastName());  | 
            ||
| 47 | $customer->setPhoneNumber($address->getPhoneNumber());  | 
            ||
| 48 | |||
| 49 | return $customer;  | 
            ||
| 50 | }  | 
            ||
| 51 | }  | 
            ||
| 52 |