File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -178,6 +178,9 @@ each time you ask for it.
178178 - ' ../src/Entity/'
179179 - ' ../src/Kernel.php'
180180
181+ # order is important in this file because service definitions
182+ # always *replace* previous ones; add your own service configuration below
183+
181184 # ...
182185
183186 .. code-block :: xml
@@ -197,6 +200,9 @@ each time you ask for it.
197200 <!-- this creates a service per class whose id is the fully-qualified class name -->
198201 <prototype namespace =" App\" resource =" ../src/" exclude =" ../src/{DependencyInjection,Entity,Kernel.php}" />
199202
203+ <!-- order is important in this file because service definitions
204+ always *replace* previous ones; add your own service configuration below -->
205+
200206 <!-- ... -->
201207
202208 </services >
@@ -219,6 +225,9 @@ each time you ask for it.
219225 // this creates a service per class whose id is the fully-qualified class name
220226 $services->load('App\\', '../src/')
221227 ->exclude('../src/{DependencyInjection,Entity,Kernel.php}');
228+
229+ // order is important in this file because service definitions
230+ // always *replace* previous ones; add your own service configuration below
222231 };
223232
224233 .. tip ::
You can’t perform that action at this time.
0 commit comments