| @@ 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 | /** |
|
| @@ 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 | /** |
|