| @@ 156-164 (lines=9) @@ | ||
| 153 | ||
| 154 | $container->share( |
|
| 155 | HelpCommand::class, |
|
| 156 | function (Container $container) |
|
| 157 | { |
|
| 158 | $command = new HelpCommand; |
|
| 159 | ||
| 160 | $command->setApplication($container->get(JoomlaApplication\AbstractApplication::class)); |
|
| 161 | $command->setInput($container->get(Input::class)); |
|
| 162 | ||
| 163 | return $command; |
|
| 164 | }, |
|
| 165 | true |
|
| 166 | ); |
|
| 167 | ||
| @@ 217-225 (lines=9) @@ | ||
| 214 | ||
| 215 | $container->share( |
|
| 216 | SubmitControllerGet::class, |
|
| 217 | function (Container $container) |
|
| 218 | { |
|
| 219 | $controller = new SubmitControllerGet; |
|
| 220 | ||
| 221 | $controller->setApplication($container->get(JoomlaApplication\AbstractApplication::class)); |
|
| 222 | $controller->setInput($container->get(Input::class)); |
|
| 223 | ||
| 224 | return $controller; |
|
| 225 | }, |
|
| 226 | true |
|
| 227 | ); |
|
| 228 | ||