| @@ 62-78 (lines=17) @@ | ||
| 59 | /** @var MiscService */ |
|
| 60 | private $miscService; |
|
| 61 | ||
| 62 | public function __construct( |
|
| 63 | $userId, |
|
| 64 | IL10N $l10n, |
|
| 65 | IUserManager $userManager, |
|
| 66 | ConfigService $configService, |
|
| 67 | DatabaseService $databaseService, |
|
| 68 | MiscService $miscService |
|
| 69 | ) { |
|
| 70 | $this->userId = $userId; |
|
| 71 | $this->l10n = $l10n; |
|
| 72 | $this->userManager = $userManager; |
|
| 73 | $this->configService = $configService; |
|
| 74 | $this->miscService = $miscService; |
|
| 75 | ||
| 76 | $this->dbCircles = $databaseService->getCirclesMapper(); |
|
| 77 | $this->dbMembers = $databaseService->getMembersMapper(); |
|
| 78 | } |
|
| 79 | ||
| 80 | ||
| 81 | /** |
|
| @@ 91-109 (lines=19) @@ | ||
| 88 | * @param ClientService $clientService |
|
| 89 | * @param MiscService $miscService |
|
| 90 | */ |
|
| 91 | public function __construct( |
|
| 92 | $userId, |
|
| 93 | IL10N $l10n, |
|
| 94 | ConfigService $configService, |
|
| 95 | DatabaseService $databaseService, |
|
| 96 | CirclesService $circlesService, |
|
| 97 | ClientService $clientService, |
|
| 98 | MiscService $miscService |
|
| 99 | ) { |
|
| 100 | $this->userId = $userId; |
|
| 101 | $this->l10n = $l10n; |
|
| 102 | $this->configService = $configService; |
|
| 103 | $this->circlesService = $circlesService; |
|
| 104 | $this->clientService = $clientService; |
|
| 105 | $this->miscService = $miscService; |
|
| 106 | ||
| 107 | $this->dbCircles = $databaseService->getCirclesMapper(); |
|
| 108 | $this->dbMembers = $databaseService->getMembersMapper(); |
|
| 109 | } |
|
| 110 | ||
| 111 | ||
| 112 | /** |
|