-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathevent_subscriber.xml
More file actions
27 lines (25 loc) · 1.56 KB
/
event_subscriber.xml
File metadata and controls
27 lines (25 loc) · 1.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?xml version="1.0" encoding="UTF-8" ?>
<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>
<defaults autowire="false" autoconfigure="false"/>
<service
id="bit_bag.sylius_user_com_plugin.event_subscriber.customer_profile_updated_subscriber"
class="BitBag\SyliusUserComPlugin\EventSubscriber\CustomerProfileUpdatedSubscriber"
public="true"
>
<argument type="service" id="bit_bag.sylius_user_com_plugin.dispatcher.customer_message_dispatcher"/>
<argument type="service" id="bit_bag.sylius_user_com_plugin.provider.user_com_api_aware_resource_provider"/>
<argument type="service" id="bit_bag.sylius_user_com_plugin.manager.cookie_manager"/>
<argument type="service" id="request_stack"/>
<argument type="service" id="monolog.logger.user_com"/>
<tag name="kernel.event_subscriber"/>
</service>
<service id="bit_bag.sylius_user_com_plugin.event_subscriber.cookie_flusher_subscriber" class="BitBag\SyliusUserComPlugin\EventSubscriber\CookieFlusherSubscriber">
<argument type="service" id="bit_bag.sylius_user_com_plugin.cookie.cookie_queue" />
<tag name="kernel.event_listener"
event="kernel.response"
method="onResponse"
priority="0"/>
</service>
</services>
</container>