| @@ 166-174 (lines=9) @@ | ||
| 163 | ||
| 164 | $container->share( |
|
| 165 | HelpCommand::class, |
|
| 166 | function (Container $container) |
|
| 167 | { |
|
| 168 | $command = new HelpCommand; |
|
| 169 | ||
| 170 | $command->setApplication($container->get(JoomlaApplication\AbstractApplication::class)); |
|
| 171 | $command->setInput($container->get(Input::class)); |
|
| 172 | ||
| 173 | return $command; |
|
| 174 | }, |
|
| 175 | true |
|
| 176 | ); |
|
| 177 | ||
| @@ 227-235 (lines=9) @@ | ||
| 224 | ||
| 225 | $container->share( |
|
| 226 | SubmitControllerGet::class, |
|
| 227 | function (Container $container) |
|
| 228 | { |
|
| 229 | $controller = new SubmitControllerGet; |
|
| 230 | ||
| 231 | $controller->setApplication($container->get(JoomlaApplication\AbstractApplication::class)); |
|
| 232 | $controller->setInput($container->get(Input::class)); |
|
| 233 | ||
| 234 | return $controller; |
|
| 235 | }, |
|
| 236 | true |
|
| 237 | ); |
|
| 238 | ||