| @@ 100-120 (lines=21) @@ | ||
| 97 | * @param IURLGenerator $urlGenerator |
|
| 98 | * @param IManager $activityManager |
|
| 99 | */ |
|
| 100 | public function __construct( |
|
| 101 | IDBConnection $connection, |
|
| 102 | ISecureRandom $secureRandom, |
|
| 103 | IUserManager $userManager, |
|
| 104 | IRootFolder $rootFolder, |
|
| 105 | IL10N $l, |
|
| 106 | ILogger $logger, |
|
| 107 | IMailer $mailer, |
|
| 108 | IURLGenerator $urlGenerator, |
|
| 109 | IManager $activityManager |
|
| 110 | ) { |
|
| 111 | $this->dbConnection = $connection; |
|
| 112 | $this->secureRandom = $secureRandom; |
|
| 113 | $this->userManager = $userManager; |
|
| 114 | $this->rootFolder = $rootFolder; |
|
| 115 | $this->l = $l; |
|
| 116 | $this->logger = $logger; |
|
| 117 | $this->mailer = $mailer; |
|
| 118 | $this->urlGenerator = $urlGenerator; |
|
| 119 | $this->activityManager = $activityManager; |
|
| 120 | } |
|
| 121 | ||
| 122 | /** |
|
| 123 | * Share a path |
|
| @@ 101-123 (lines=23) @@ | ||
| 98 | * @param IUserManager $userManager |
|
| 99 | * @param ICloudIdManager $cloudIdManager |
|
| 100 | */ |
|
| 101 | public function __construct( |
|
| 102 | IDBConnection $connection, |
|
| 103 | AddressHandler $addressHandler, |
|
| 104 | Notifications $notifications, |
|
| 105 | TokenHandler $tokenHandler, |
|
| 106 | IL10N $l10n, |
|
| 107 | ILogger $logger, |
|
| 108 | IRootFolder $rootFolder, |
|
| 109 | IConfig $config, |
|
| 110 | IUserManager $userManager, |
|
| 111 | ICloudIdManager $cloudIdManager |
|
| 112 | ) { |
|
| 113 | $this->dbConnection = $connection; |
|
| 114 | $this->addressHandler = $addressHandler; |
|
| 115 | $this->notifications = $notifications; |
|
| 116 | $this->tokenHandler = $tokenHandler; |
|
| 117 | $this->l = $l10n; |
|
| 118 | $this->logger = $logger; |
|
| 119 | $this->rootFolder = $rootFolder; |
|
| 120 | $this->config = $config; |
|
| 121 | $this->userManager = $userManager; |
|
| 122 | $this->cloudIdManager = $cloudIdManager; |
|
| 123 | } |
|
| 124 | ||
| 125 | /** |
|
| 126 | * Return the identifier of this provider. |
|
| @@ 77-99 (lines=23) @@ | ||
| 74 | * @param Mapper $mapper |
|
| 75 | * @param IURLGenerator $url |
|
| 76 | */ |
|
| 77 | public function __construct( |
|
| 78 | ILogger $log, |
|
| 79 | IDBConnection $dbc, |
|
| 80 | IL10N $l, |
|
| 81 | IConfig $config, |
|
| 82 | EncryptionManager $encryptionManager, |
|
| 83 | IUserManager $userManager, |
|
| 84 | ILockingProvider $lockingProvider, |
|
| 85 | IRequest $request, |
|
| 86 | Mapper $mapper, |
|
| 87 | IURLGenerator $url |
|
| 88 | ) { |
|
| 89 | $this->log = $log; |
|
| 90 | $this->dbc = $dbc; |
|
| 91 | $this->mapper = $mapper; |
|
| 92 | $this->l = $l; |
|
| 93 | $this->config = $config; |
|
| 94 | $this->encryptionManager = $encryptionManager; |
|
| 95 | $this->userManager = $userManager; |
|
| 96 | $this->lockingProvider = $lockingProvider; |
|
| 97 | $this->request = $request; |
|
| 98 | $this->url = $url; |
|
| 99 | } |
|
| 100 | ||
| 101 | /** |
|
| 102 | * @inheritdoc |
|
| @@ 67-85 (lines=19) @@ | ||
| 64 | * @param ICrypto $crypto |
|
| 65 | * @param string $fromAddress |
|
| 66 | */ |
|
| 67 | public function __construct(ThemingDefaults $themingDefaults, |
|
| 68 | IURLGenerator $urlGenerator, |
|
| 69 | IL10N $l10n, |
|
| 70 | IMailer $mailer, |
|
| 71 | ISecureRandom $secureRandom, |
|
| 72 | ITimeFactory $timeFactory, |
|
| 73 | IConfig $config, |
|
| 74 | ICrypto $crypto, |
|
| 75 | $fromAddress) { |
|
| 76 | $this->themingDefaults = $themingDefaults; |
|
| 77 | $this->urlGenerator = $urlGenerator; |
|
| 78 | $this->l10n = $l10n; |
|
| 79 | $this->mailer = $mailer; |
|
| 80 | $this->secureRandom = $secureRandom; |
|
| 81 | $this->timeFactory = $timeFactory; |
|
| 82 | $this->config = $config; |
|
| 83 | $this->crypto = $crypto; |
|
| 84 | $this->fromAddress = $fromAddress; |
|
| 85 | } |
|
| 86 | ||
| 87 | /** |
|
| 88 | * Set the IL10N object |
|