/** * @param Customer $customer */ public function toUser(Customer $customer) { $customer->setLastName($this->name); $customer->setFirstName($this->firstName); $customer->setPhone($this->phone); $customer->setEmail($this->email); $customer->setAddress($this->address); $customer->setAddress2($this->address2); $customer->setZipCode($this->zipcode); $customer->setCity($this->city); $customer->setCountry($this->country); $customer->setTempCardNumber($this->accentCardNumber); }