Skip to content

Commit 49332b7

Browse files
author
Gabriel Birke
committed
Use the :class: syntax
1 parent b2fc60a commit 49332b7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

cookbook/console.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -195,11 +195,11 @@ console.
195195
Getting Services from the Service Container
196196
-------------------------------------------
197197

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\Bundle\FrameworkBundle\Command\ContainerAwareCommand`
199+
as the base class for the command (instead of the more basic
200+
:class:`Symfony\Component\Console\Command\Command`), 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::
203203

204204
protected function execute(InputInterface $input, OutputInterface $output)
205205
{

0 commit comments

Comments
 (0)