|
@@ 125-130 (lines=6) @@
|
| 122 |
|
); |
| 123 |
|
|
| 124 |
|
$container->registerService( |
| 125 |
|
'MembersService', function(IAppContainer $c) { |
| 126 |
|
return new MembersService( |
| 127 |
|
$c->query('UserId'), $c->query('L10N'), $c->query('UserManager'), |
| 128 |
|
$c->query('ConfigService'), $c->query('DatabaseService'), $c->query('MiscService') |
| 129 |
|
); |
| 130 |
|
} |
| 131 |
|
); |
| 132 |
|
|
| 133 |
|
$container->registerService( |
|
@@ 142-148 (lines=7) @@
|
| 139 |
|
); |
| 140 |
|
|
| 141 |
|
$container->registerService( |
| 142 |
|
'FederatedService', function(IAppContainer $c) { |
| 143 |
|
return new FederatedService( |
| 144 |
|
$c->query('UserId'), $c->query('L10N'), $c->query('ConfigService'), |
| 145 |
|
$c->query('DatabaseService'), $c->query('CirclesService'), |
| 146 |
|
$c->query('HTTPClientService'), $c->query('MiscService') |
| 147 |
|
); |
| 148 |
|
} |
| 149 |
|
); |
| 150 |
|
} |
| 151 |
|
|