EscolaLMS/Templates-Email

View on GitHub
src/Consultations/RejectTermVariables.php

Summary

Maintainability
A
35 mins
Test Coverage
<?php

namespace EscolaLms\TemplatesEmail\Consultations;

class RejectTermVariables extends CommonConsultationVariables
{
    public static function defaultSectionsContent(): array
    {
        return [
            'title' => __('Reject term ":consultation"', [
                'consultation' => self::VAR_CONSULTATION_TITLE,
            ]),
            'content' => self::wrapWithMjml(__('<h1>Hello :user_name!</h1><p>Reported term :proposed_term for consultation ":consultation" was rejected.</p>', [
                'user_name' => self::VAR_USER_NAME,
                'consultation' => self::VAR_CONSULTATION_TITLE,
                'proposed_term' => self::VAR_CONSULTATION_PROPOSED_TERM
            ]),),
        ];
    }
}