From 41fb3627e552e897a6e8f31918fc9a0b8169eb16 Mon Sep 17 00:00:00 2001 From: Sacha Durand Date: Wed, 12 Feb 2020 00:31:52 +0100 Subject: [PATCH] [3.4] patch for dependency injection in controllers --- controller.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller.rst b/controller.rst index ae905081eab..c035f192507 100644 --- a/controller.rst +++ b/controller.rst @@ -254,7 +254,7 @@ Fetching Services as Controller Arguments The ability to type-hint a controller argument in order to receive a service was introduced in Symfony 3.3. -Symfony comes *packed* with a lot of useful objects, called :doc:`services `. +Symfony comes *packed* with a lot of useful classes and functionalities, called :doc:`services `. These are used for rendering templates, sending emails, querying the database and any other "work" you can think of.