EscolaLMS/Templates-Email

View on GitHub
src/Consultations/ApprovedTermWithTrainerVariables.php

Summary

Maintainability
A
35 mins
Test Coverage
<?php

namespace EscolaLms\TemplatesEmail\Consultations;

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