15 lines
300B

  1. <?php
  2. namespace domain\_;
  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. }