Skip to content

Commit 9cf40a7

Browse files
committed
feature #8525 Mentioned the new case-sensitivity of container parameters (javiereguiluz)
This PR was merged into the 3.4 branch. Discussion ---------- Mentioned the new case-sensitivity of container parameters I prefer to mention this feature only in this article and not in the main `service_container.rst` article to not complicate too much that introductory article. Commits ------- a1a2f96 Mentioned the new case-sensitivity of container parameters
2 parents b4b7287 + a1a2f96 commit 9cf40a7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

service_container/parameters.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,11 @@ accessor methods for parameters::
170170
To learn more about compiling the container see
171171
:doc:`/components/dependency_injection/compilation`.
172172

173+
.. versionadded:: 3.4
174+
Container parameters are case sensitive starting from Symfony 3.4. In
175+
previous Symfony versions, parameters were case insensitive, meaning that
176+
``mailer.transport`` and ``Mailer.Transport`` were considered the same parameter.
177+
173178
.. _component-di-parameters-array:
174179

175180
Array Parameters

0 commit comments

Comments
 (0)