| @@ 184-192 (lines=9) @@ | ||
| 181 | ||
| 182 | $container->share( |
|
| 183 | HelpCommand::class, |
|
| 184 | function (Container $container) |
|
| 185 | { |
|
| 186 | $command = new HelpCommand; |
|
| 187 | ||
| 188 | $command->setApplication($container->get(JoomlaApplication\AbstractApplication::class)); |
|
| 189 | $command->setInput($container->get(Input::class)); |
|
| 190 | ||
| 191 | return $command; |
|
| 192 | }, |
|
| 193 | true |
|
| 194 | ); |
|
| 195 | ||
| @@ 226-234 (lines=9) @@ | ||
| 223 | ||
| 224 | $container->share( |
|
| 225 | UpdateCommand::class, |
|
| 226 | function (Container $container) |
|
| 227 | { |
|
| 228 | $command = new UpdateCommand; |
|
| 229 | ||
| 230 | $command->setApplication($container->get(JoomlaApplication\AbstractApplication::class)); |
|
| 231 | $command->setInput($container->get(Input::class)); |
|
| 232 | ||
| 233 | return $command; |
|
| 234 | }, |
|
| 235 | true |
|
| 236 | ); |
|
| 237 | ||
| @@ 330-338 (lines=9) @@ | ||
| 327 | ||
| 328 | $container->share( |
|
| 329 | SubmitControllerGet::class, |
|
| 330 | function (Container $container) |
|
| 331 | { |
|
| 332 | $controller = new SubmitControllerGet; |
|
| 333 | ||
| 334 | $controller->setApplication($container->get(JoomlaApplication\AbstractApplication::class)); |
|
| 335 | $controller->setInput($container->get(Input::class)); |
|
| 336 | ||
| 337 | return $controller; |
|
| 338 | }, |
|
| 339 | true |
|
| 340 | ); |
|
| 341 | ||