| @@ 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 | /** |
|
| @@ 82-100 (lines=19) @@ | ||
| 79 | * @param ClientService $clientService |
|
| 80 | * @param MiscService $miscService |
|
| 81 | */ |
|
| 82 | public function __construct( |
|
| 83 | $userId, |
|
| 84 | IL10N $l10n, |
|
| 85 | ConfigService $configService, |
|
| 86 | DatabaseService $databaseService, |
|
| 87 | CirclesService $circlesService, |
|
| 88 | ClientService $clientService, |
|
| 89 | MiscService $miscService |
|
| 90 | ) { |
|
| 91 | $this->userId = $userId; |
|
| 92 | $this->l10n = $l10n; |
|
| 93 | $this->configService = $configService; |
|
| 94 | $this->circlesService = $circlesService; |
|
| 95 | $this->clientService = $clientService; |
|
| 96 | $this->miscService = $miscService; |
|
| 97 | ||
| 98 | $this->dbCircles = $databaseService->getCirclesMapper(); |
|
| 99 | $this->dbMembers = $databaseService->getMembersMapper(); |
|
| 100 | } |
|
| 101 | ||
| 102 | ||
| 103 | /** |
|