您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

AbstractNotifier.php 304B

123456789101112131415
  1. <?php
  2. namespace common\logic;
  3. use common\components\MailerService;
  4. abstract class AbstractNotifier extends AbstractService implements NotifierInterface
  5. {
  6. protected MailerService $mailer;
  7. public function loadDependencies(): void
  8. {
  9. $this->mailer = \Yii::$app->mailerService;
  10. }
  11. }