You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
304B

  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. }