| @@ 170-178 (lines=9) @@ | ||
| 167 | ||
| 168 | $container->share( |
|
| 169 | HelpCommand::class, |
|
| 170 | function (Container $container) |
|
| 171 | { |
|
| 172 | $command = new HelpCommand; |
|
| 173 | ||
| 174 | $command->setApplication($container->get(JoomlaApplication\AbstractApplication::class)); |
|
| 175 | $command->setInput($container->get(Input::class)); |
|
| 176 | ||
| 177 | return $command; |
|
| 178 | }, |
|
| 179 | true |
|
| 180 | ); |
|
| 181 | ||
| @@ 260-268 (lines=9) @@ | ||
| 257 | ||
| 258 | $container->share( |
|
| 259 | SubmitControllerGet::class, |
|
| 260 | function (Container $container) |
|
| 261 | { |
|
| 262 | $controller = new SubmitControllerGet; |
|
| 263 | ||
| 264 | $controller->setApplication($container->get(JoomlaApplication\AbstractApplication::class)); |
|
| 265 | $controller->setInput($container->get(Input::class)); |
|
| 266 | ||
| 267 | return $controller; |
|
| 268 | }, |
|
| 269 | true |
|
| 270 | ); |
|
| 271 | ||