<?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">

    <parameters>
        <parameter key="swiftmailer.spool.memory.class">Swift_MemorySpool</parameter>
        <parameter key="swiftmailer.email_sender.listener.class">Symfony\Bundle\SwiftmailerBundle\EventListener\EmailSenderListener</parameter>
    </parameters>

    <services>
        <service id="swiftmailer.spool.memory" class="%swiftmailer.spool.memory.class%" public="false" />

        <service id="swiftmailer.email_sender.listener" class="%swiftmailer.email_sender.listener.class%">
            <tag name="kernel.event_subscriber" />
            <argument type="service" id="service_container" />
        </service>
    </services>
</container>
