-
-
Notifications
You must be signed in to change notification settings - Fork 838
/
messenger.xml
24 lines (17 loc) · 1.1 KB
/
messenger.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version="1.0" ?>
<container xmlns="http://symfony.com/schema/dic/services"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
<services>
<service id="api_platform.message_bus" alias="messenger.default_bus" />
<service id="api_platform.messenger.data_persister" class="ApiPlatform\Core\Bridge\Symfony\Messenger\DataPersister" public="false">
<argument type="service" id="api_platform.metadata.resource.metadata_factory" />
<argument type="service" id="api_platform.message_bus" />
<tag name="api_platform.data_persister" priority="-900" />
</service>
<service id="api_platform.messenger.data_transformer" class="ApiPlatform\Core\Bridge\Symfony\Messenger\DataTransformer" public="false">
<argument type="service" id="api_platform.metadata.resource.metadata_factory" />
<tag name="api_platform.data_transformer" priority="-10" />
</service>
</services>
</container>