Skip to content

Commit 175b05a

Browse files
tristanbesjaviereguiluz
authored andcommitted
Add a warning to imports order
1 parent 3dbceef commit 175b05a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

service_container/import.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,12 @@ To import this file, use the ``imports`` key from a file that *is* loaded:
102102
The ``resource`` location, for files, is either a relative path from the
103103
current file or an absolute path.
104104

105+
.. caution::
106+
107+
The imported files are loaded first; You should be careful, because it can
108+
lead to some of your services definition to be overridden by rules present
109+
inside the file where you do imports
110+
105111
.. include:: /components/dependency_injection/_imports-parameters-note.rst.inc
106112

107113
.. index::

0 commit comments

Comments
 (0)