| @@ 171-179 (lines=9) @@ | ||
| 168 | ||
| 169 | $container->share( |
|
| 170 | HelpCommand::class, |
|
| 171 | function (Container $container) |
|
| 172 | { |
|
| 173 | $command = new HelpCommand; |
|
| 174 | ||
| 175 | $command->setApplication($container->get(JoomlaApplication\AbstractApplication::class)); |
|
| 176 | $command->setInput($container->get(Input::class)); |
|
| 177 | ||
| 178 | return $command; |
|
| 179 | }, |
|
| 180 | true |
|
| 181 | ); |
|
| 182 | ||
| @@ 275-283 (lines=9) @@ | ||
| 272 | ||
| 273 | $container->share( |
|
| 274 | SubmitControllerGet::class, |
|
| 275 | function (Container $container) |
|
| 276 | { |
|
| 277 | $controller = new SubmitControllerGet; |
|
| 278 | ||
| 279 | $controller->setApplication($container->get(JoomlaApplication\AbstractApplication::class)); |
|
| 280 | $controller->setInput($container->get(Input::class)); |
|
| 281 | ||
| 282 | return $controller; |
|
| 283 | }, |
|
| 284 | true |
|
| 285 | ); |
|
| 286 | ||