|
@@ 307-315 (lines=9) @@
|
| 304 |
|
* |
| 305 |
|
* @since 1.0 |
| 306 |
|
*/ |
| 307 |
|
public function getHelpCommandService(Container $container) : AppCommands\HelpCommand |
| 308 |
|
{ |
| 309 |
|
$command = new AppCommands\HelpCommand; |
| 310 |
|
|
| 311 |
|
$command->setApplication($container->get(JoomlaApplication\AbstractApplication::class)); |
| 312 |
|
$command->setInput($container->get(Input::class)); |
| 313 |
|
|
| 314 |
|
return $command; |
| 315 |
|
} |
| 316 |
|
|
| 317 |
|
/** |
| 318 |
|
* Get the Input\Cli class service |
|
@@ 467-475 (lines=9) @@
|
| 464 |
|
* |
| 465 |
|
* @since 1.0 |
| 466 |
|
*/ |
| 467 |
|
public function getSubmitControllerGetService(Container $container) : SubmitControllerGet |
| 468 |
|
{ |
| 469 |
|
$controller = new SubmitControllerGet; |
| 470 |
|
|
| 471 |
|
$controller->setApplication($container->get(JoomlaApplication\AbstractApplication::class)); |
| 472 |
|
$controller->setInput($container->get(Input::class)); |
| 473 |
|
|
| 474 |
|
return $controller; |
| 475 |
|
} |
| 476 |
|
|
| 477 |
|
/** |
| 478 |
|
* Get the Tags\JoomlaCommand class service |
|
@@ 524-532 (lines=9) @@
|
| 521 |
|
* |
| 522 |
|
* @since 1.0 |
| 523 |
|
*/ |
| 524 |
|
public function getUpdateCommandService(Container $container) : AppCommands\UpdateCommand |
| 525 |
|
{ |
| 526 |
|
$command = new AppCommands\UpdateCommand; |
| 527 |
|
|
| 528 |
|
$command->setApplication($container->get(JoomlaApplication\AbstractApplication::class)); |
| 529 |
|
$command->setInput($container->get(Input::class)); |
| 530 |
|
|
| 531 |
|
return $command; |
| 532 |
|
} |
| 533 |
|
|
| 534 |
|
/** |
| 535 |
|
* Get the web application service |