File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -408,8 +408,8 @@ Suppose you create a second class - ``UppercaseTransformer`` that implements
408
408
If you register this as a service, you now have *two * services that implement the
409
409
``App\Util\TransformerInterface `` type. Autowiring subsystem can not decide
410
410
which one to use. Remember, autowiring isn't magic; it looks for a service
411
- whose id matches the type-hint. So you need to choose one by creating an alias
412
- from the type to the correct service id (see :ref: ` autowiring-interface-alias `) .
411
+ whose id matches the type-hint. So you need to choose one by :ref: ` creating an alias
412
+ <autowiring-interface-alias>` from the type to the correct service id.
413
413
Additionally, you can define several named autowiring aliases if you want to use
414
414
one implementation in some cases, and another implementation in some
415
415
other cases.
You can’t perform that action at this time.
0 commit comments