| @@ 175-182 (lines=8) @@ | ||
| 172 | ||
| 173 | $container->share( |
|
| 174 | HelpCommand::class, |
|
| 175 | function (Container $container) |
|
| 176 | { |
|
| 177 | $command = new HelpCommand; |
|
| 178 | ||
| 179 | $command->setApplication($container->get(JoomlaApplication\AbstractApplication::class)); |
|
| 180 | $command->setInput($container->get(Input::class)); |
|
| 181 | ||
| 182 | return $command; |
|
| 183 | }, |
|
| 184 | true |
|
| 185 | ); |
|
| @@ 217-225 (lines=9) @@ | ||
| 214 | ||
| 215 | $container->share( |
|
| 216 | UpdateCommand::class, |
|
| 217 | function (Container $container) |
|
| 218 | { |
|
| 219 | $command = new UpdateCommand; |
|
| 220 | ||
| 221 | $command->setApplication($container->get(JoomlaApplication\AbstractApplication::class)); |
|
| 222 | $command->setInput($container->get(Input::class)); |
|
| 223 | ||
| 224 | return $command; |
|
| 225 | }, |
|
| 226 | true |
|
| 227 | ); |
|
| 228 | ||
| @@ 321-328 (lines=8) @@ | ||
| 318 | ||
| 319 | $container->share( |
|
| 320 | SubmitControllerGet::class, |
|
| 321 | function (Container $container) |
|
| 322 | { |
|
| 323 | $controller = new SubmitControllerGet; |
|
| 324 | ||
| 325 | $controller->setApplication($container->get(JoomlaApplication\AbstractApplication::class)); |
|
| 326 | $controller->setInput($container->get(Input::class)); |
|
| 327 | ||
| 328 | return $controller; |
|
| 329 | }, |
|
| 330 | true |
|
| 331 | ); |
|