diff --git a/cookbook/console/console_command.rst b/cookbook/console/console_command.rst index 4ed71637446..a5ed95b0fd5 100644 --- a/cookbook/console/console_command.rst +++ b/cookbook/console/console_command.rst @@ -87,7 +87,7 @@ service container. In other words, you have access to any configured service:: // ... } -However, due to the `container scopes `_ this +However, due to the :doc:`container scopes ` this code doesn't work for some services. For instance, if you try to get the ``request`` service or any other service related to it, you'll get the following error: