Source of file EmailReminderReplacerClassInterface.php
Size: 0,783 Bytes - Last Modified: 2021-12-23T10:41:35+00:00
/var/www/docs.ssmods.com/process/src/src/Interfaces/EmailReminderReplacerClassInterface.php
123456789101112131415161718192021222324252627282930 | <?php namespace SunnySideUp\EmailReminder\Interfaces; use SilverStripe\ORM\DataObject; use SunnySideUp\EmailReminder\Model\EmailReminderNotificationSchedule; interface EmailReminderReplacerClassInterface { /** * replaces all instances of certain * strings in the string and returns the string. * * @param EmailReminderNotificationSchedule $reminder * @param DataObject $record */ public function replace($reminder, $record, string $str): string; /** * provides and array of replacements like this:. * * [string to replace] => 'description of what it does' * * @param bool $asHTML * * @return array|string */ public function replaceHelpList(?bool $asHTML = false); } |