File tree Expand file tree Collapse file tree 3 files changed +20
-2
lines changed
Filter options
contributing/documentation Expand file tree Collapse file tree 3 files changed +20
-2
lines changed
Original file line number Diff line number Diff line change @@ -191,8 +191,8 @@ describe how the behavior has changed:
191
191
192
192
.. versionadded:: 3.4
193
193
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.
196
196
197
197
For a deprecation use the ``.. deprecated:: 3.X `` directive:
198
198
Original file line number Diff line number Diff line change @@ -185,8 +185,18 @@ Templating and Twig are explained more in the
185
185
.. _controller-accessing-services :
186
186
.. _accessing-other-services :
187
187
188
+ <<<<<<< HEAD
188
189
Fetching Services
189
190
~~~~~~~~~~~~~~~~~
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
190
200
191
201
Symfony comes *packed * with a lot of useful objects, called :doc: `services </service_container >`.
192
202
These are used for rendering templates, sending emails, querying the database and
Original file line number Diff line number Diff line change @@ -775,7 +775,15 @@ For more details about autowiring, check out :doc:`/service_container/autowiring
775
775
The autoconfigure Option
776
776
------------------------
777
777
778
+ <<<<<<< HEAD
778
779
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
779
787
section so that it applies to all services defined in that file. With this setting,
780
788
the container will automatically apply certain configuration to your services, based
781
789
on your service's *class *. This is mostly used to *auto-tag * your services.
You can’t perform that action at this time.
0 commit comments