| @@ 185-193 (lines=9) @@ | ||
| 182 | ||
| 183 | $container->share( |
|
| 184 | HelpCommand::class, |
|
| 185 | function (Container $container) |
|
| 186 | { |
|
| 187 | $command = new HelpCommand; |
|
| 188 | ||
| 189 | $command->setApplication($container->get(JoomlaApplication\AbstractApplication::class)); |
|
| 190 | $command->setInput($container->get(Input::class)); |
|
| 191 | ||
| 192 | return $command; |
|
| 193 | }, |
|
| 194 | true |
|
| 195 | ); |
|
| 196 | ||
| @@ 227-235 (lines=9) @@ | ||
| 224 | ||
| 225 | $container->share( |
|
| 226 | UpdateCommand::class, |
|
| 227 | function (Container $container) |
|
| 228 | { |
|
| 229 | $command = new UpdateCommand; |
|
| 230 | ||
| 231 | $command->setApplication($container->get(JoomlaApplication\AbstractApplication::class)); |
|
| 232 | $command->setInput($container->get(Input::class)); |
|
| 233 | ||
| 234 | return $command; |
|
| 235 | }, |
|
| 236 | true |
|
| 237 | ); |
|
| 238 | ||
| @@ 345-353 (lines=9) @@ | ||
| 342 | ||
| 343 | $container->share( |
|
| 344 | SubmitControllerGet::class, |
|
| 345 | function (Container $container) |
|
| 346 | { |
|
| 347 | $controller = new SubmitControllerGet; |
|
| 348 | ||
| 349 | $controller->setApplication($container->get(JoomlaApplication\AbstractApplication::class)); |
|
| 350 | $controller->setInput($container->get(Input::class)); |
|
| 351 | ||
| 352 | return $controller; |
|
| 353 | }, |
|
| 354 | true |
|
| 355 | ); |
|
| 356 | ||