File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -880,27 +880,27 @@ for classes under the same namespace:
880
880
881
881
.. code-block :: yaml
882
882
883
- # app/ config/services.yml
883
+ # config/services.yaml
884
884
services :
885
885
App\Domain\ :
886
- resource : ' ../../ src/Domain/*'
886
+ resource : ' ../src/Domain/*'
887
887
# ...
888
888
889
889
In order to have multiple definitions, add the ``namespace `` option and use any
890
890
unique string as the key of each service config:
891
891
892
892
.. code-block :: yaml
893
893
894
- # app/ config/services.yml
894
+ # config/services.yaml
895
895
services :
896
896
command_handlers :
897
897
namespace : App\Domain\
898
- resource : ' ../../ src/Domain/*/CommandHandler'
898
+ resource : ' ../src/Domain/*/CommandHandler'
899
899
tags : [command_handler]
900
900
901
901
event_subscribers :
902
902
namespace : App\Domain\
903
- resource : ' ../../ src/Domain/*/EventSubscriber'
903
+ resource : ' ../src/Domain/*/EventSubscriber'
904
904
tags : [event_subscriber]
905
905
906
906
.. _services-explicitly-configure-wire-services :
Original file line number Diff line number Diff line change @@ -202,15 +202,15 @@ service type to a service.
202
202
203
203
.. code-block :: yaml
204
204
205
- // app/ config/services.yml
205
+ // config/services.yaml
206
206
services :
207
207
App\CommandBus :
208
208
tags :
209
209
- { name: 'container.service_subscriber', key: 'logger', id: 'monolog.logger.event' }
210
210
211
211
.. code-block :: xml
212
212
213
- <!-- app/ config/services.xml -->
213
+ <!-- config/services.xml -->
214
214
<?xml version =" 1.0" encoding =" UTF-8" ?>
215
215
<container xmlns =" http://symfony.com/schema/dic/services"
216
216
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
@@ -227,7 +227,7 @@ service type to a service.
227
227
228
228
.. code-block :: php
229
229
230
- // app/ config/services.php
230
+ // config/services.php
231
231
use App\CommandBus;
232
232
233
233
// ...
You can’t perform that action at this time.
0 commit comments