File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -190,7 +190,10 @@ You can configure the service configurator using the ``configurator`` option:
190
190
->setConfigurator(array(new Reference('app.email_configurator'), 'configure'))
191
191
;
192
192
193
- .. note ::
193
+
194
+ .. versionadded :: 3.2
195
+ The ``service_id:method_name `` syntax for the YAML configuration format
196
+ was introduced in Symfony 3.2.
194
197
195
198
The traditional configurator syntax in YAML files used an array to define
196
199
the service id and the method name:
@@ -203,10 +206,6 @@ You can configure the service configurator using the ``configurator`` option:
203
206
# old syntax
204
207
configurator : ['@app.email_configurator', configure]
205
208
206
- .. versionadded :: 3.2
207
- The ``service_id:method_name `` syntax for the YAML configuration format
208
- was introduced in Symfony 3.2.
209
-
210
209
That's it! When requesting the ``app.newsletter_manager `` or
211
210
``app.greeting_card_manager `` service, the created instance will first be
212
211
passed to the ``EmailConfigurator::configure() `` method.
You can’t perform that action at this time.
0 commit comments