File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
components/dependency_injection Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -309,7 +309,7 @@ and a Twitter client using it:
309
309
rot13_transformer :
310
310
class : Acme\Rot13Transformer
311
311
312
- Acme\TransformerInterface : @rot13_transformer
312
+ Acme\TransformerInterface : " @rot13_transformer"
313
313
314
314
twitter_client :
315
315
class : Acme\TwitterClient
@@ -332,6 +332,7 @@ and a Twitter client using it:
332
332
333
333
<services >
334
334
<service id =" rot13_transformer" class =" Acme\Rot13Transformer" />
335
+
335
336
<service id =" Acme\TransformerInterface" alias =" rot13_transformer" />
336
337
337
338
<service id =" twitter_client" class =" Acme\TwitterClient" autowire =" true" />
@@ -384,7 +385,7 @@ to use which leads to errors like this:
384
385
Fortunately, the FQCN alias is here to specify which implementation
385
386
to use by default.
386
387
387
- .. versionadded :: 3.2
388
+ .. versionadded :: 3.3
388
389
Using FQCN aliases to fix autowiring ambiguities is allowed since Symfony
389
390
3.3. Prior to version 3.3, you needed to use the ``autowiring_types `` key.
390
391
You can’t perform that action at this time.
0 commit comments