lpi-lab/newsletter-bundle

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

Symfony LpiNewsletterBundle

3.0.0 2015-07-29 16:03 UTC

This package is not auto-updated.

Last update: 2021-11-27 02:37:50 UTC


README

    <service id="newsletter_factory" class="Lpi\NewsletterBundle\Integration\UserAuthenticationFactory"/>
    <service id="user.password.mailjet"
             class="Lpi\NewsletterBundle\Integration\UserPasswordAuthentication"
             factory-service="newsletter_factory"
             factory-method="createUserPasswordAuthentication"
            >
        <argument>%mailjet_key%</argument>
        <argument>%mailjet_secret%</argument>
    </service>


    <service id="lpi.mailjet.client" class="Lpi\NewsletterBundle\Integration\Mailjet\MailjetClient">
        <argument type="service" id="user.password.mailjet"/>
        <argument type="service" id="logger"/>
    </service>

    <service id="lpi.mailjet.service" class="Lpi\NewsletterBundle\Integration\Mailjet\MailjetService">
        <tag name="monolog.logger" channel="newsletter"/>
        <argument type="service" id="lpi.mailjet.client"/>
        <argument type="service" id="logger"/>
    </service>

    <service id="lpi.newsletter_logger" class="Symfony\Bridge\Monolog\Logger">
        <tag name="monolog.logger" channel="newsletter"/>
        <argument>lpi.newsletter_logger</argument>
        <argument type="service" id="monolog.handler.newsletter"/>
    </service>