We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4312518 commit af00dbcCopy full SHA for af00dbc
controller.rst
@@ -284,6 +284,10 @@ the argument by its name:
284
You can of course also use normal :ref:`constructor injection <services-constructor-injection>`
285
in your controllers.
286
287
+.. versionadded:: 4.1
288
+ The ability to bind scalar values to controller arguments was introduced in
289
+ Symfony 4.1. Previously you could only bind services.
290
+
291
For more information about services, see the :doc:`/service_container` article.
292
293
.. index::
0 commit comments