Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitaf00dbc

Browse files
authored
adding version note about scalar bind args
1 parent4312518 commitaf00dbc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎controller.rst‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,10 @@ the argument by its name:
284284
You can of course also use normal:ref:`constructor injection<services-constructor-injection>`
285285
in your controllers.
286286

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+
287291
For more information about services, see the:doc:`/service_container` article.
288292

289293
..index::

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp