|
@@ 189-197 (lines=9) @@
|
| 186 |
|
|
| 187 |
|
$container->share( |
| 188 |
|
InstallCommand::class, |
| 189 |
|
function (Container $container) |
| 190 |
|
{ |
| 191 |
|
$command = new InstallCommand($container->get(DatabaseDriver::class)); |
| 192 |
|
|
| 193 |
|
$command->setApplication($container->get(JoomlaApplication\AbstractApplication::class)); |
| 194 |
|
$command->setInput($container->get(Input::class)); |
| 195 |
|
|
| 196 |
|
return $command; |
| 197 |
|
}, |
| 198 |
|
true |
| 199 |
|
); |
| 200 |
|
|
|
@@ 203-211 (lines=9) @@
|
| 200 |
|
|
| 201 |
|
$container->share( |
| 202 |
|
SnapshotCommand::class, |
| 203 |
|
function (Container $container) |
| 204 |
|
{ |
| 205 |
|
$command = new SnapshotCommand($container->get(StatsJsonView::class)); |
| 206 |
|
|
| 207 |
|
$command->setApplication($container->get(JoomlaApplication\AbstractApplication::class)); |
| 208 |
|
$command->setInput($container->get(Input::class)); |
| 209 |
|
|
| 210 |
|
return $command; |
| 211 |
|
}, |
| 212 |
|
true |
| 213 |
|
); |
| 214 |
|
|
|
@@ 231-239 (lines=9) @@
|
| 228 |
|
|
| 229 |
|
$container->share( |
| 230 |
|
ClearCommand::class, |
| 231 |
|
function (Container $container) |
| 232 |
|
{ |
| 233 |
|
$command = new ClearCommand($container->get(Cache::class)); |
| 234 |
|
|
| 235 |
|
$command->setApplication($container->get(JoomlaApplication\AbstractApplication::class)); |
| 236 |
|
$command->setInput($container->get(Input::class)); |
| 237 |
|
|
| 238 |
|
return $command; |
| 239 |
|
}, |
| 240 |
|
true |
| 241 |
|
); |
| 242 |
|
|
|
@@ 260-268 (lines=9) @@
|
| 257 |
|
|
| 258 |
|
$container->share( |
| 259 |
|
StatusCommand::class, |
| 260 |
|
function (Container $container) |
| 261 |
|
{ |
| 262 |
|
$command = new StatusCommand($container->get(Migrations::class)); |
| 263 |
|
|
| 264 |
|
$command->setApplication($container->get(JoomlaApplication\AbstractApplication::class)); |
| 265 |
|
$command->setInput($container->get(Input::class)); |
| 266 |
|
|
| 267 |
|
return $command; |
| 268 |
|
}, |
| 269 |
|
true |
| 270 |
|
); |
| 271 |
|
|
|
@@ 274-282 (lines=9) @@
|
| 271 |
|
|
| 272 |
|
$container->share( |
| 273 |
|
JoomlaCommand::class, |
| 274 |
|
function (Container $container) |
| 275 |
|
{ |
| 276 |
|
$command = new JoomlaCommand($container->get(GitHub::class)); |
| 277 |
|
|
| 278 |
|
$command->setApplication($container->get(JoomlaApplication\AbstractApplication::class)); |
| 279 |
|
$command->setInput($container->get(Input::class)); |
| 280 |
|
|
| 281 |
|
return $command; |
| 282 |
|
}, |
| 283 |
|
true |
| 284 |
|
); |
| 285 |
|
|
|
@@ 288-299 (lines=12) @@
|
| 285 |
|
|
| 286 |
|
$container->share( |
| 287 |
|
DisplayControllerGet::class, |
| 288 |
|
function (Container $container) |
| 289 |
|
{ |
| 290 |
|
$controller = new DisplayControllerGet( |
| 291 |
|
$container->get(StatsJsonView::class), |
| 292 |
|
$container->get(Cache::class) |
| 293 |
|
); |
| 294 |
|
|
| 295 |
|
$controller->setApplication($container->get(JoomlaApplication\AbstractApplication::class)); |
| 296 |
|
$controller->setInput($container->get(Input::class)); |
| 297 |
|
|
| 298 |
|
return $controller; |
| 299 |
|
}, |
| 300 |
|
true |
| 301 |
|
); |
| 302 |
|
|
|
@@ 305-315 (lines=11) @@
|
| 302 |
|
|
| 303 |
|
$container->share( |
| 304 |
|
SubmitControllerCreate::class, |
| 305 |
|
function (Container $container) |
| 306 |
|
{ |
| 307 |
|
$controller = new SubmitControllerCreate( |
| 308 |
|
$container->get(StatsModel::class) |
| 309 |
|
); |
| 310 |
|
|
| 311 |
|
$controller->setApplication($container->get(JoomlaApplication\AbstractApplication::class)); |
| 312 |
|
$controller->setInput($container->get(Input::class)); |
| 313 |
|
|
| 314 |
|
return $controller; |
| 315 |
|
}, |
| 316 |
|
true |
| 317 |
|
); |
| 318 |
|
|