|
@@ 185-193 (lines=9) @@
|
| 182 |
|
|
| 183 |
|
$container->share( |
| 184 |
|
InstallCommand::class, |
| 185 |
|
function (Container $container) |
| 186 |
|
{ |
| 187 |
|
$command = new InstallCommand($container->get(DatabaseDriver::class)); |
| 188 |
|
|
| 189 |
|
$command->setApplication($container->get(JoomlaApplication\AbstractApplication::class)); |
| 190 |
|
$command->setInput($container->get(Input::class)); |
| 191 |
|
|
| 192 |
|
return $command; |
| 193 |
|
}, |
| 194 |
|
true |
| 195 |
|
); |
| 196 |
|
|
|
@@ 199-207 (lines=9) @@
|
| 196 |
|
|
| 197 |
|
$container->share( |
| 198 |
|
SnapshotCommand::class, |
| 199 |
|
function (Container $container) |
| 200 |
|
{ |
| 201 |
|
$command = new SnapshotCommand($container->get(StatsJsonView::class)); |
| 202 |
|
|
| 203 |
|
$command->setApplication($container->get(JoomlaApplication\AbstractApplication::class)); |
| 204 |
|
$command->setInput($container->get(Input::class)); |
| 205 |
|
|
| 206 |
|
return $command; |
| 207 |
|
}, |
| 208 |
|
true |
| 209 |
|
); |
| 210 |
|
|
|
@@ 228-236 (lines=9) @@
|
| 225 |
|
|
| 226 |
|
$container->share( |
| 227 |
|
StatusCommand::class, |
| 228 |
|
function (Container $container) |
| 229 |
|
{ |
| 230 |
|
$command = new StatusCommand($container->get(Migrations::class)); |
| 231 |
|
|
| 232 |
|
$command->setApplication($container->get(JoomlaApplication\AbstractApplication::class)); |
| 233 |
|
$command->setInput($container->get(Input::class)); |
| 234 |
|
|
| 235 |
|
return $command; |
| 236 |
|
}, |
| 237 |
|
true |
| 238 |
|
); |
| 239 |
|
|
|
@@ 242-253 (lines=12) @@
|
| 239 |
|
|
| 240 |
|
$container->share( |
| 241 |
|
DisplayControllerGet::class, |
| 242 |
|
function (Container $container) |
| 243 |
|
{ |
| 244 |
|
$controller = new DisplayControllerGet( |
| 245 |
|
$container->get(StatsJsonView::class), |
| 246 |
|
$container->get(Cache::class) |
| 247 |
|
); |
| 248 |
|
|
| 249 |
|
$controller->setApplication($container->get(JoomlaApplication\AbstractApplication::class)); |
| 250 |
|
$controller->setInput($container->get(Input::class)); |
| 251 |
|
|
| 252 |
|
return $controller; |
| 253 |
|
}, |
| 254 |
|
true |
| 255 |
|
); |
| 256 |
|
|
|
@@ 259-269 (lines=11) @@
|
| 256 |
|
|
| 257 |
|
$container->share( |
| 258 |
|
SubmitControllerCreate::class, |
| 259 |
|
function (Container $container) |
| 260 |
|
{ |
| 261 |
|
$controller = new SubmitControllerCreate( |
| 262 |
|
$container->get(StatsModel::class) |
| 263 |
|
); |
| 264 |
|
|
| 265 |
|
$controller->setApplication($container->get(JoomlaApplication\AbstractApplication::class)); |
| 266 |
|
$controller->setInput($container->get(Input::class)); |
| 267 |
|
|
| 268 |
|
return $controller; |
| 269 |
|
}, |
| 270 |
|
true |
| 271 |
|
); |
| 272 |
|
|