| @@ 173-181 (lines=9) @@ | ||
| 170 | ||
| 171 | $container->share( |
|
| 172 | HelpCommand::class, |
|
| 173 | function (Container $container) |
|
| 174 | { |
|
| 175 | $command = new HelpCommand; |
|
| 176 | ||
| 177 | $command->setApplication($container->get(JoomlaApplication\AbstractApplication::class)); |
|
| 178 | $command->setInput($container->get(Input::class)); |
|
| 179 | ||
| 180 | return $command; |
|
| 181 | }, |
|
| 182 | true |
|
| 183 | ); |
|
| 184 | ||
| @@ 215-223 (lines=9) @@ | ||
| 212 | ||
| 213 | $container->share( |
|
| 214 | UpdateCommand::class, |
|
| 215 | function (Container $container) |
|
| 216 | { |
|
| 217 | $command = new UpdateCommand; |
|
| 218 | ||
| 219 | $command->setApplication($container->get(JoomlaApplication\AbstractApplication::class)); |
|
| 220 | $command->setInput($container->get(Input::class)); |
|
| 221 | ||
| 222 | return $command; |
|
| 223 | }, |
|
| 224 | true |
|
| 225 | ); |
|
| 226 | ||
| @@ 305-313 (lines=9) @@ | ||
| 302 | ||
| 303 | $container->share( |
|
| 304 | SubmitControllerGet::class, |
|
| 305 | function (Container $container) |
|
| 306 | { |
|
| 307 | $controller = new SubmitControllerGet; |
|
| 308 | ||
| 309 | $controller->setApplication($container->get(JoomlaApplication\AbstractApplication::class)); |
|
| 310 | $controller->setInput($container->get(Input::class)); |
|
| 311 | ||
| 312 | return $controller; |
|
| 313 | }, |
|
| 314 | true |
|
| 315 | ); |
|
| 316 | ||