File tree 1 file changed +9
-0
lines changed
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.
178
178
- ' ../src/Entity/'
179
179
- ' ../src/Kernel.php'
180
180
181
+ # order is important in this file because service definitions
182
+ # always *replace* previous ones; add your own service configuration below
183
+
181
184
# ...
182
185
183
186
.. code-block :: xml
@@ -197,6 +200,9 @@ each time you ask for it.
197
200
<!-- this creates a service per class whose id is the fully-qualified class name -->
198
201
<prototype namespace =" App\" resource =" ../src/" exclude =" ../src/{DependencyInjection,Entity,Kernel.php}" />
199
202
203
+ <!-- order is important in this file because service definitions
204
+ always *replace* previous ones; add your own service configuration below -->
205
+
200
206
<!-- ... -->
201
207
202
208
</services >
@@ -219,6 +225,9 @@ each time you ask for it.
219
225
// this creates a service per class whose id is the fully-qualified class name
220
226
$services->load('App\\', '../src/')
221
227
->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
222
231
};
223
232
224
233
.. tip ::
You can’t perform that action at this time.
0 commit comments