@@ 226-234 (lines=9) @@ | ||
223 | * |
|
224 | * @return AppCommands\Database\StatusCommand |
|
225 | */ |
|
226 | public function getDatabaseStatusCommandService(Container $container) : AppCommands\Database\StatusCommand |
|
227 | { |
|
228 | $command = new AppCommands\Database\StatusCommand($container->get(Migrations::class)); |
|
229 | ||
230 | $command->setApplication($container->get(JoomlaApplication\AbstractApplication::class)); |
|
231 | $command->setInput($container->get(Input::class)); |
|
232 | ||
233 | return $command; |
|
234 | } |
|
235 | ||
236 | /** |
|
237 | * Get the DisplayControllerCreate class service |
|
@@ 260-270 (lines=11) @@ | ||
257 | * |
|
258 | * @return DisplayControllerGet |
|
259 | */ |
|
260 | public function getDisplayControllerGetService(Container $container) : DisplayControllerGet |
|
261 | { |
|
262 | $controller = new DisplayControllerGet( |
|
263 | $container->get(StatsJsonView::class) |
|
264 | ); |
|
265 | ||
266 | $controller->setApplication($container->get(JoomlaApplication\AbstractApplication::class)); |
|
267 | $controller->setInput($container->get(Input::class)); |
|
268 | ||
269 | return $controller; |
|
270 | } |
|
271 | ||
272 | /** |
|
273 | * Get the HelpCommand class service |
|
@@ 320-328 (lines=9) @@ | ||
317 | * |
|
318 | * @return AppCommands\InstallCommand |
|
319 | */ |
|
320 | public function getInstallCommandService(Container $container) : AppCommands\InstallCommand |
|
321 | { |
|
322 | $command = new AppCommands\InstallCommand($container->get(DatabaseDriver::class)); |
|
323 | ||
324 | $command->setApplication($container->get(JoomlaApplication\AbstractApplication::class)); |
|
325 | $command->setInput($container->get(Input::class)); |
|
326 | ||
327 | return $command; |
|
328 | } |
|
329 | ||
330 | /** |
|
331 | * Get the router service |
|
@@ 357-365 (lines=9) @@ | ||
354 | * |
|
355 | * @return AppCommands\SnapshotCommand |
|
356 | */ |
|
357 | public function getSnapshotCommandService(Container $container) : AppCommands\SnapshotCommand |
|
358 | { |
|
359 | $command = new AppCommands\SnapshotCommand($container->get(StatsJsonView::class)); |
|
360 | ||
361 | $command->setApplication($container->get(JoomlaApplication\AbstractApplication::class)); |
|
362 | $command->setInput($container->get(Input::class)); |
|
363 | ||
364 | return $command; |
|
365 | } |
|
366 | ||
367 | /** |
|
368 | * Get the StatsJsonView class service |
|
@@ 402-412 (lines=11) @@ | ||
399 | * |
|
400 | * @return SubmitControllerCreate |
|
401 | */ |
|
402 | public function getSubmitControllerCreateService(Container $container) : SubmitControllerCreate |
|
403 | { |
|
404 | $controller = new SubmitControllerCreate( |
|
405 | $container->get(StatsModel::class) |
|
406 | ); |
|
407 | ||
408 | $controller->setApplication($container->get(JoomlaApplication\AbstractApplication::class)); |
|
409 | $controller->setInput($container->get(Input::class)); |
|
410 | ||
411 | return $controller; |
|
412 | } |
|
413 | ||
414 | /** |
|
415 | * Get the SubmitControllerGet class service |
|
@@ 438-446 (lines=9) @@ | ||
435 | * |
|
436 | * @return AppCommands\Tags\JoomlaCommand |
|
437 | */ |
|
438 | public function getTagsJoomlaCommandService(Container $container) : AppCommands\Tags\JoomlaCommand |
|
439 | { |
|
440 | $command = new AppCommands\Tags\JoomlaCommand($container->get(GitHub::class)); |
|
441 | ||
442 | $command->setApplication($container->get(JoomlaApplication\AbstractApplication::class)); |
|
443 | $command->setInput($container->get(Input::class)); |
|
444 | ||
445 | return $command; |
|
446 | } |
|
447 | ||
448 | /** |
|
449 | * Get the Tags\PhpCommand class service |
|
@@ 455-463 (lines=9) @@ | ||
452 | * |
|
453 | * @return AppCommands\Tags\PhpCommand |
|
454 | */ |
|
455 | public function getTagsPhpCommandService(Container $container) : AppCommands\Tags\PhpCommand |
|
456 | { |
|
457 | $command = new AppCommands\Tags\PhpCommand($container->get(GitHub::class)); |
|
458 | ||
459 | $command->setApplication($container->get(JoomlaApplication\AbstractApplication::class)); |
|
460 | $command->setInput($container->get(Input::class)); |
|
461 | ||
462 | return $command; |
|
463 | } |
|
464 | ||
465 | /** |
|
466 | * Get the UpdateCommand class service |