@@ 281-289 (lines=9) @@ | ||
278 | * |
|
279 | * @return AppCommands\HelpCommand |
|
280 | */ |
|
281 | public function getHelpCommandService(Container $container) : AppCommands\HelpCommand |
|
282 | { |
|
283 | $command = new AppCommands\HelpCommand; |
|
284 | ||
285 | $command->setApplication($container->get(JoomlaApplication\AbstractApplication::class)); |
|
286 | $command->setInput($container->get(Input::class)); |
|
287 | ||
288 | return $command; |
|
289 | } |
|
290 | ||
291 | /** |
|
292 | * Get the Input\Cli class service |
|
@@ 423-431 (lines=9) @@ | ||
420 | * |
|
421 | * @return SubmitControllerGet |
|
422 | */ |
|
423 | public function getSubmitControllerGetService(Container $container) : SubmitControllerGet |
|
424 | { |
|
425 | $controller = new SubmitControllerGet; |
|
426 | ||
427 | $controller->setApplication($container->get(JoomlaApplication\AbstractApplication::class)); |
|
428 | $controller->setInput($container->get(Input::class)); |
|
429 | ||
430 | return $controller; |
|
431 | } |
|
432 | ||
433 | /** |
|
434 | * Get the Tags\JoomlaCommand class service |
|
@@ 474-482 (lines=9) @@ | ||
471 | * |
|
472 | * @return AppCommands\UpdateCommand |
|
473 | */ |
|
474 | public function getUpdateCommandService(Container $container) : AppCommands\UpdateCommand |
|
475 | { |
|
476 | $command = new AppCommands\UpdateCommand; |
|
477 | ||
478 | $command->setApplication($container->get(JoomlaApplication\AbstractApplication::class)); |
|
479 | $command->setInput($container->get(Input::class)); |
|
480 | ||
481 | return $command; |
|
482 | } |
|
483 | ||
484 | /** |
|
485 | * Get the web application service |