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

Appearance settings

Commit a1427e5

Browse filesBrowse files
committed
Merge branch '3.4' into 4.2
* 3.4: reword versionadded sentences a bit
2 parents a81275f + 5db49ff commit a1427e5
Copy full SHA for a1427e5

File tree

Expand file treeCollapse file tree

3 files changed

+20
-2
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+20
-2
lines changed

‎contributing/documentation/format.rst

Copy file name to clipboardExpand all lines: contributing/documentation/format.rst
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,8 @@ describe how the behavior has changed:
191191
192192
.. versionadded:: 3.4
193193
194-
Support for annotation routing without an external bundle was added in
195-
Symfony 3.4. Prior, you needed to install the SensioFrameworkExtraBundle.
194+
Support for annotation routing without an external bundle was introduced
195+
in Symfony 3.4. Prior, you needed to install the SensioFrameworkExtraBundle.
196196
197197
For a deprecation use the ``.. deprecated:: 3.X`` directive:
198198

‎controller.rst

Copy file name to clipboardExpand all lines: controller.rst
+10Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,18 @@ Templating and Twig are explained more in the
185185
.. _controller-accessing-services:
186186
.. _accessing-other-services:
187187

188+
<<<<<<< HEAD
188189
Fetching Services
189190
~~~~~~~~~~~~~~~~~
191+
=======
192+
Fetching Services as Controller Arguments
193+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
194+
195+
.. versionadded:: 3.3
196+
197+
The ability to type-hint a controller argument in order to receive a service
198+
was introduced in Symfony 3.3.
199+
>>>>>>> 3.4
190200

191201
Symfony comes *packed* with a lot of useful objects, called :doc:`services </service_container>`.
192202
These are used for rendering templates, sending emails, querying the database and

‎service_container.rst

Copy file name to clipboardExpand all lines: service_container.rst
+8Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -775,7 +775,15 @@ For more details about autowiring, check out :doc:`/service_container/autowiring
775775
The autoconfigure Option
776776
------------------------
777777

778+
<<<<<<< HEAD
778779
Above, the ``services.yaml`` file has ``autoconfigure: true`` in the ``_defaults``
780+
=======
781+
.. versionadded:: 3.3
782+
783+
The ``autoconfigure`` option was introduced in Symfony 3.3.
784+
785+
Above, the ``services.yml`` file has ``autoconfigure: true`` in the ``_defaults``
786+
>>>>>>> 3.4
779787
section so that it applies to all services defined in that file. With this setting,
780788
the container will automatically apply certain configuration to your services, based
781789
on your service's *class*. This is mostly used to *auto-tag* your services.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.