class Migration1663238480FixMailTemplateFallbackChainUsage extends MigrationStep
{ use UpdateMailTrait;
public function getCreationTimestamp(): int
{ return 1663238480;
} public function update(Connection
$connection): void
{ $updateCustomerGroupRegistrationAcceptedMail =
new MailUpdate( MailTemplateTypes::MAILTYPE_CUSTOMER_GROUP_REGISTRATION_ACCEPTED,
(string) file_get_contents(__DIR__ . '/../Fixtures/mails/customer.group.registration.accepted/en-plain.html.twig'
),
(string) file_get_contents(__DIR__ . '/../Fixtures/mails/customer.group.registration.accepted/en-html.html.twig'
),
(string) file_get_contents(__DIR__ . '/../Fixtures/mails/customer.group.registration.accepted/de-plain.html.twig'
),
(string) file_get_contents(__DIR__ . '/../Fixtures/mails/customer.group.registration.accepted/de-html.html.twig'
),
);
$this->
updateMail($updateCustomerGroupRegistrationAcceptedMail,
$connection);
$updateCustomerGroupRegistrationDeclinedMail =
new MailUpdate( MailTemplateTypes::MAILTYPE_CUSTOMER_GROUP_REGISTRATION_DECLINED,
(string) file_get_contents(__DIR__ . '/../Fixtures/mails/customer.group.registration.declined/en-plain.html.twig'
),