$this->attributeHydrator =
$attributeHydrator;
$this->customerGroupHydrator =
$customerGroupHydrator;
} /**
* @param array<string, mixed> $data
*
* @return Customer
*/
public function hydrate(array
$data) { $customer =
new Customer();
$customer->
setId($data['__customer_id'
]);
$customer->
setEncoder($data['__customer_encoder'
]);
$customer->
setEmail($data['__customer_email'
]);
$customer->
setActive($data['__customer_active'
]);
$customer->
setAccountMode($data['__customer_accountmode'
]);
$customer->
setConfirmationKey($data['__customer_confirmationkey'
]);
$customer->
setPaymentId($data['__customer_paymentID'
]);
$customer->
setValidation($data['__customer_validation'
]);
$customer->
setAffiliate($data['__customer_affiliate'
]);
$customer->
setPaymentPreset($data['__customer_paymentpreset'
]);
$customer->
setLanguageId($data['__customer_language'
]);