From ae343bccdaffafcb0fc25324b3e882b2b52be74e Mon Sep 17 00:00:00 2001 From: Daniel Iwaniec Date: Sun, 1 Sep 2019 14:57:05 +0200 Subject: [PATCH] scope singly-implemented interfaces detection by file --- service_container/autowiring.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service_container/autowiring.rst b/service_container/autowiring.rst index 0e1fad1aed1..f0670e55fe6 100644 --- a/service_container/autowiring.rst +++ b/service_container/autowiring.rst @@ -339,7 +339,7 @@ dealing with the ``TransformerInterface``. When using a `service definition prototype`_, if only one service is discovered that implements an interface, and that interface is also - discovered at the same time, configuring the alias is not mandatory + discovered in the same file, configuring the alias is not mandatory and Symfony will automatically create one. Dealing with Multiple Implementations of the Same Type