File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -139,10 +139,9 @@ manually and tag it with ``form.type``:
139
139
->addTag('form.type')
140
140
;
141
141
142
- .. versionadded :: 3.3
142
+ .. note ::
143
143
144
- Prior to Symfony 3.3, you needed to define form type services as ``public ``.
145
- Starting from Symfony 3.3, you can also define them as ``private ``.
144
+ Form type services can be ``public `` or ``private ``.
146
145
147
146
That's it! Your controller - where you create the form - doesn't need to change
148
147
at all: Symfony is smart enough to load the ``TaskType `` from the container.
Original file line number Diff line number Diff line change @@ -216,10 +216,9 @@ and tag it with ``form.type_guesser``:
216
216
->addTag('form.type_guesser')
217
217
;
218
218
219
- .. versionadded :: 3.3
219
+ .. note ::
220
220
221
- Prior to Symfony 3.3, you needed to define type guesser services as ``public ``.
222
- Starting from Symfony 3.3, you can also define them as ``private ``.
221
+ Type guesser services can be ``public `` or ``private ``.
223
222
224
223
.. sidebar :: Registering a Type Guesser in the Component
225
224
You can’t perform that action at this time.
0 commit comments