parameters:
    BREVO_API_KEY: '%env(BREVO_API_KEY)%'

services:
    _defaults:
        autowire: true
        autoconfigure: true

    App\:
        resource: '../src/'
        exclude:
            - '../src/DependencyInjection/'
            - '../src/Entity/'
            - '../src/Kernel.php'

    App\Service\BrevoMailer:
        arguments:
            $client: '@http_client'
            $brevoApiKey: '%env(BREVO_API_KEY)%'

