From 2761ac9675f763170b3f1f6b075dccb413a62d9e Mon Sep 17 00:00:00 2001 From: Andrey Melnikov Date: Thu, 2 Aug 2018 16:39:29 -0700 Subject: [PATCH 1/2] Fixed grammar issue in console.rst --- console.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/console.rst b/console.rst index a0bb3a954bf..811bf9af4ab 100644 --- a/console.rst +++ b/console.rst @@ -200,7 +200,7 @@ Now, you can pass the username to the command: Getting Services from the Service Container ------------------------------------------- -To actually create a new user, the command has to access to some +To actually create a new user, the command has to have access to some :doc:`services `. Since your command is already registered as a service, you can use normal dependency injection. Imagine you have a ``AppBundle\Service\UserManager`` service that you want to access:: From 105cc87f73bf7015459d7dcd1d9f92583067b080 Mon Sep 17 00:00:00 2001 From: Andrey Melnikov Date: Fri, 3 Aug 2018 12:25:04 -0700 Subject: [PATCH 2/2] Updated console.rst service wording to match 2.8 --- console.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/console.rst b/console.rst index 811bf9af4ab..59c59e05f06 100644 --- a/console.rst +++ b/console.rst @@ -200,7 +200,7 @@ Now, you can pass the username to the command: Getting Services from the Service Container ------------------------------------------- -To actually create a new user, the command has to have access to some +To actually create a new user, the command has to access some :doc:`services `. Since your command is already registered as a service, you can use normal dependency injection. Imagine you have a ``AppBundle\Service\UserManager`` service that you want to access::