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