->
add('resetUrl',
new ScalarValueType(ScalarValueType::TYPE_STRING
)) ->
add('shopName',
new ScalarValueType(ScalarValueType::TYPE_STRING
));
} public function getMailStruct(): MailRecipientStruct
{ if (!
$this->mailRecipientStruct instanceof MailRecipientStruct
) { /** @var CustomerEntity $customer */
$customer =
$this->customerRecovery->
getCustomer();
$this->mailRecipientStruct =
new MailRecipientStruct([ $customer->
getEmail() =>
$customer->
getFirstName() . ' ' .
$customer->
getLastName(),
]);
} return $this->mailRecipientStruct;
} public function getSalesChannelId(): string
{ return $this->salesChannelContext->
getSalesChannel()->
getId();
}