| @@ 54-70 (lines=17) @@ | ||
| 51 | /** @var IL10N */ |
|
| 52 | protected $l; |
|
| 53 | ||
| 54 | public function __construct(IActivityManager $activityManager, |
|
| 55 | IUserManager $userManager, |
|
| 56 | IUserSession $userSession, |
|
| 57 | IURLGenerator $urlGenerator, |
|
| 58 | IMailer $mailer, |
|
| 59 | IConfig $config, |
|
| 60 | IFactory $languageFactory, |
|
| 61 | IL10N $l) { |
|
| 62 | $this->activityManager = $activityManager; |
|
| 63 | $this->userManager = $userManager; |
|
| 64 | $this->userSession = $userSession; |
|
| 65 | $this->urlGenerator = $urlGenerator; |
|
| 66 | $this->mailer = $mailer; |
|
| 67 | $this->config = $config; |
|
| 68 | $this->languageFactory = $languageFactory; |
|
| 69 | $this->l = $l; |
|
| 70 | } |
|
| 71 | ||
| 72 | /** |
|
| 73 | * @param string $uid |
|
| @@ 66-84 (lines=19) @@ | ||
| 63 | * @param ICrypto $crypto |
|
| 64 | * @param string $fromAddress |
|
| 65 | */ |
|
| 66 | public function __construct(Defaults $themingDefaults, |
|
| 67 | IURLGenerator $urlGenerator, |
|
| 68 | IL10N $l10n, |
|
| 69 | IMailer $mailer, |
|
| 70 | ISecureRandom $secureRandom, |
|
| 71 | ITimeFactory $timeFactory, |
|
| 72 | IConfig $config, |
|
| 73 | ICrypto $crypto, |
|
| 74 | $fromAddress) { |
|
| 75 | $this->themingDefaults = $themingDefaults; |
|
| 76 | $this->urlGenerator = $urlGenerator; |
|
| 77 | $this->l10n = $l10n; |
|
| 78 | $this->mailer = $mailer; |
|
| 79 | $this->secureRandom = $secureRandom; |
|
| 80 | $this->timeFactory = $timeFactory; |
|
| 81 | $this->config = $config; |
|
| 82 | $this->crypto = $crypto; |
|
| 83 | $this->fromAddress = $fromAddress; |
|
| 84 | } |
|
| 85 | ||
| 86 | /** |
|
| 87 | * Set the IL10N object |
|
| @@ 95-104 (lines=10) @@ | ||
| 92 | * @param IUrlGenerator $urlGenerator |
|
| 93 | * @param string $userId |
|
| 94 | */ |
|
| 95 | public function __construct(IConfig $config, IMailer $mailer, ILogger $logger, ITimeFactory $timeFactory, L10NFactory $l10nFactory, IURLGenerator $urlGenerator, $userId) { |
|
| 96 | parent::__construct(''); |
|
| 97 | $this->userId = $userId; |
|
| 98 | $this->config = $config; |
|
| 99 | $this->mailer = $mailer; |
|
| 100 | $this->logger = $logger; |
|
| 101 | $this->timeFactory = $timeFactory; |
|
| 102 | $this->l10nFactory = $l10nFactory; |
|
| 103 | $this->urlGenerator = $urlGenerator; |
|
| 104 | } |
|
| 105 | ||
| 106 | /** |
|
| 107 | * Event handler for the 'schedule' event. |
|