|
3 | 3 | <container xmlns="http://symfony.com/schema/dic/services" |
4 | 4 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
5 | 5 | xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd"> |
6 | | - <services> |
7 | | - |
8 | | - <service id="loevgaard_sylius_barcode.command.check_barcodes" |
9 | | - class="Loevgaard\SyliusBarcodePlugin\Command\CheckBarcodesCommand"> |
10 | | - <argument type="service" id="sylius.manager.product_variant"/> |
11 | | - <argument type="service" id="loevgaard_sylius_barcode.command_bus"/> |
12 | | - <argument type="service" id="setono_doctrine_orm_batcher.factory.batcher"/> |
13 | | - <argument>%sylius.model.product_variant.class%</argument> |
14 | | - |
15 | | - <tag name="console.command"/> |
16 | | - </service> |
17 | | - |
18 | | - <service id="loevgaard_sylius_barcode.barcode_checker" |
19 | | - class="Loevgaard\SyliusBarcodePlugin\BarcodeChecker\BarcodeChecker"> |
20 | | - <argument type="service" id="event_dispatcher"/> |
21 | | - </service> |
22 | | - |
23 | | - <service id="Loevgaard\SyliusBarcodePlugin\BarcodeChecker\BarcodeCheckerInterface" |
24 | | - alias="loevgaard_sylius_barcode.barcode_checker"/> |
25 | | - |
26 | | - <service id="loevgaard_sylius_barcode.form.extension.product_variant" |
27 | | - class="Loevgaard\SyliusBarcodePlugin\Form\Extension\ProductVariantTypeExtension"> |
28 | | - <argument>%loevgaard_sylius_barcode.form.require%</argument> |
29 | | - <argument>%loevgaard_sylius_barcode.form.require_valid%</argument> |
30 | | - <argument>%sylius.form.type.product_variant.validation_groups%</argument> |
31 | | - |
32 | | - <tag name="form.type_extension" |
33 | | - extended-type="Sylius\Bundle\ProductBundle\Form\Type\ProductVariantType"/> |
34 | | - </service> |
35 | | - |
36 | | - <service id="loevgaard_sylius_barcode.message.handler.process_batch" |
37 | | - class="Loevgaard\SyliusBarcodePlugin\Message\Handler\ProcessBatchHandler"> |
38 | | - <argument type="service" id="doctrine"/> |
39 | | - <argument type="service" id="loevgaard_sylius_barcode.barcode_checker"/> |
40 | | - |
41 | | - <tag name="messenger.message_handler"/> |
42 | | - </service> |
43 | | - |
44 | | - <service id="Loevgaard\SyliusBarcodePlugin\EventListener\AddIndicesSubscriber"> |
45 | | - <tag name="doctrine.event_subscriber"/> |
46 | | - </service> |
47 | | - |
48 | | - </services> |
| 6 | + <imports> |
| 7 | + <import resource="services/command.xml"/> |
| 8 | + <import resource="services/etc.xml"/> |
| 9 | + <import resource="services/form.xml"/> |
| 10 | + <import resource="services/messenger.xml"/> |
| 11 | + </imports> |
49 | 12 | </container> |
0 commit comments