8000 Describe things more precisely · symfony/symfony-docs@92ab061 · GitHub
[go: up one dir, main page]

Skip to content

Commit 92ab061

Browse files
committed
Describe things more precisely
Here, namespace is referring to that kind of thing: App\Namespace\: resource: '../../src/App/Namespace/*' And it looks as if there is no word yet to name that kind of configuration block. I propose to use namespace resource declaration, but please do suggest better alternatives, (glob resouce declaration?).
1 parent 51ba43b commit 92ab061

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

service_container/autowiring.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -338,9 +338,10 @@ dealing with the ``TransformerInterface``.
338338

339339
.. tip::
340340

341-
As long as there is only one class implementing the interface and that class
342-
is part of the same namespace configuring the alias is not mandatory and Symfony
343-
will automatically create one.
341+
As long as there is only one class implementing the interface and
342+
that class is part of the same namespace resource declaration,
343+
configuring the alias is not mandatory and Symfony will
344+
automatically create one.
344345

345346
Dealing with Multiple Implementations of the Same Type
346347
------------------------------------------------------

0 commit comments

Comments
 (0)
0