File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -343,9 +343,9 @@ dealing with the ``TransformerInterface``.
343
343
344
344
.. tip ::
345
345
346
- As long as you have only one concrete implementation of an interface under the same
347
- namespace, alias is not mandatory and autowire will work injecting the concrete
348
- implementation even without alias definition .
346
+ As long as there is only one class implementing the interface and that class
347
+ is part of the same namespace configuring the alias is not mandatory and Symfony
348
+ will automatically create one .
349
349
Nevertheless it is recommended to provide an alias in order to preserve application
350
350
logic when a second concrete implementation kicks in, otherwise compiler compilation
351
351
would throw an exception.
You can’t perform that action at this time.
0 commit comments