| @@ 83-105 (lines=23) @@ | ||
| 80 | * @param FederatedService $federatedService |
|
| 81 | * @param MiscService $miscService |
|
| 82 | */ |
|
| 83 | public function __construct( |
|
| 84 | $appName, |
|
| 85 | IRequest $request, |
|
| 86 | $userId, |
|
| 87 | IL10N $l10n, |
|
| 88 | ConfigService $configService, |
|
| 89 | CirclesService $circlesService, |
|
| 90 | MembersService $membersService, |
|
| 91 | SharesService $sharesService, |
|
| 92 | FederatedService $federatedService, |
|
| 93 | MiscService $miscService |
|
| 94 | ) { |
|
| 95 | parent::__construct($appName, $request); |
|
| 96 | ||
| 97 | $this->userId = $userId; |
|
| 98 | $this->l10n = $l10n; |
|
| 99 | $this->configService = $configService; |
|
| 100 | $this->circlesService = $circlesService; |
|
| 101 | $this->membersService = $membersService; |
|
| 102 | $this->sharesService = $sharesService; |
|
| 103 | $this->federatedService = $federatedService; |
|
| 104 | $this->miscService = $miscService; |
|
| 105 | } |
|
| 106 | ||
| 107 | /** |
|
| 108 | * @param $data |
|
| @@ 94-116 (lines=23) @@ | ||
| 91 | * @param ClientService $clientService |
|
| 92 | * @param MiscService $miscService |
|
| 93 | */ |
|
| 94 | public function __construct( |
|
| 95 | $userId, |
|
| 96 | IL10N $l10n, |
|
| 97 | CirclesRequest $circlesRequest, |
|
| 98 | ConfigService $configService, |
|
| 99 | DatabaseService $databaseService, |
|
| 100 | CirclesService $circlesService, |
|
| 101 | FederatedLinksRequest $federatedLinksRequest, |
|
| 102 | string $serverHost, |
|
| 103 | ClientService $clientService, |
|
| 104 | MiscService $miscService |
|
| 105 | ) { |
|
| 106 | $this->userId = $userId; |
|
| 107 | $this->l10n = $l10n; |
|
| 108 | $this->circlesRequest = $circlesRequest; |
|
| 109 | $this->configService = $configService; |
|
| 110 | $this->circlesService = $circlesService; |
|
| 111 | // $this->sharesService = $sharesService; |
|
| 112 | $this->federatedLinksRequest = $federatedLinksRequest; |
|
| 113 | $this->serverHost = $serverHost; |
|
| 114 | $this->clientService = $clientService; |
|
| 115 | $this->miscService = $miscService; |
|
| 116 | } |
|
| 117 | ||
| 118 | ||
| 119 | /** |
|