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