| @@ 69-83 (lines=15) @@ | ||
| 66 | * @param DatabaseService $databaseService |
|
| 67 | * @param MiscService $miscService |
|
| 68 | */ |
|
| 69 | public function __construct( |
|
| 70 | $userId, |
|
| 71 | IL10N $l10n, |
|
| 72 | ConfigService $configService, |
|
| 73 | DatabaseService $databaseService, |
|
| 74 | MiscService $miscService |
|
| 75 | ) { |
|
| 76 | $this->userId = $userId; |
|
| 77 | $this->l10n = $l10n; |
|
| 78 | $this->configService = $configService; |
|
| 79 | $this->miscService = $miscService; |
|
| 80 | ||
| 81 | $this->dbCircles = $databaseService->getCirclesMapper(); |
|
| 82 | $this->dbMembers = $databaseService->getMembersMapper(); |
|
| 83 | } |
|
| 84 | ||
| 85 | ||
| 86 | /** |
|
| @@ 64-80 (lines=17) @@ | ||
| 61 | /** @var MiscService */ |
|
| 62 | private $miscService; |
|
| 63 | ||
| 64 | public function __construct( |
|
| 65 | $userId, |
|
| 66 | IL10N $l10n, |
|
| 67 | IUserManager $userManager, |
|
| 68 | ConfigService $configService, |
|
| 69 | DatabaseService $databaseService, |
|
| 70 | MiscService $miscService |
|
| 71 | ) { |
|
| 72 | $this->userId = $userId; |
|
| 73 | $this->l10n = $l10n; |
|
| 74 | $this->userManager = $userManager; |
|
| 75 | $this->configService = $configService; |
|
| 76 | $this->miscService = $miscService; |
|
| 77 | ||
| 78 | $this->dbCircles = $databaseService->getCirclesMapper(); |
|
| 79 | $this->dbMembers = $databaseService->getMembersMapper(); |
|
| 80 | } |
|
| 81 | ||
| 82 | ||
| 83 | /** |
|