File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -237,11 +237,11 @@ console.
237
237
Getting Services from the Service Container
238
238
-------------------------------------------
239
239
240
- By using `` Symfony\Bundle\FrameworkBundle\Command\Command `` as the base class
241
- for the command (instead of the more basic
242
- `` Symfony\Component\Console\Command\Command `` ), you have access to the service
243
- container. In other words, you have access to any configured service. For
244
- example, you could easily extend the task to be translatable::
240
+ By using :class: ` Symfony\B undle\F rameworkBundle\C ommand\C ontainerAwareCommand `
241
+ as the base class for the command (instead of the more basic
242
+ :class: ` Symfony\C omponent\C onsole\C ommand\C ommand `), you have access to the
243
+ service container. In other words, you have access to any configured service.
244
+ For example, you could easily extend the task to be translatable::
245
245
246
246
protected function execute(InputInterface $input, OutputInterface $output)
247
247
{
You can’t perform that action at this time.
0 commit comments