File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -195,11 +195,11 @@ console.
195
195
Getting Services from the Service Container
196
196
-------------------------------------------
197
197
198
- By using `` Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand `` as
199
- the base class for the command (instead of the more basic
200
- `` Symfony\Component\Console\Command\Command `` ), you have access to the service
201
- container. In other words, you have access to any configured service. For
202
- example, you could easily extend the task to be translatable::
198
+ By using :class: ` Symfony\B undle\F rameworkBundle\C ommand\C ontainerAwareCommand `
199
+ as the base class for the command (instead of the more basic
200
+ :class: ` Symfony\C omponent\C onsole\C ommand\C ommand `), you have access to the
201
+ service container. In other words, you have access to any configured service.
202
+ For example, you could easily extend the task to be translatable::
203
203
204
204
protected function execute(InputInterface $input, OutputInterface $output)
205
205
{
You can’t perform that action at this time.
0 commit comments