From f2a07b6112aab7398ca8b12de2bc2096e07d0b7a Mon Sep 17 00:00:00 2001 From: Mario Young Date: Sat, 8 Nov 2014 03:29:42 -0300 Subject: [PATCH 1/2] Correct link to scopes page --- cookbook/console/console_command.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbook/console/console_command.rst b/cookbook/console/console_command.rst index 4ed71637446..3c39882855f 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 `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: From a6fff8a81272c9f8973473408ce771a06c6361f0 Mon Sep 17 00:00:00 2001 From: Mario Young Date: Sat, 8 Nov 2014 13:51:52 -0300 Subject: [PATCH 2/2] changes from xabbuh change the link according to xabbuh comment --- cookbook/console/console_command.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbook/console/console_command.rst b/cookbook/console/console_command.rst index 3c39882855f..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: