Skip to content

Commit e9192ba

Browse files
committed
minor #13105 [3.4] patch for dependency injection in controllers (DurandSacha)
This PR was submitted for the master branch but it was squashed and merged into the 3.4 branch instead. Discussion ---------- [3.4] patch for dependency injection in controllers Symfony packs a whole class, not objects ! Commits ------- 41fb362 [3.4] patch for dependency injection in controllers
2 parents 10747a8 + 41fb362 commit e9192ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controller.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ Fetching Services as Controller Arguments
254254
The ability to type-hint a controller argument in order to receive a service
255255
was introduced in Symfony 3.3.
256256

257-
Symfony comes *packed* with a lot of useful objects, called :doc:`services </service_container>`.
257+
Symfony comes *packed* with a lot of useful classes and functionalities, called :doc:`services </service_container>`.
258258
These are used for rendering templates, sending emails, querying the database and
259259
any other "work" you can think of.
260260

0 commit comments

Comments
 (0)