parameters:
    app.test: 'test'

services:
    # default configuration for services in *this* file
    _defaults:
        autowire: true
        autoconfigure: true

    # makes classes in src/ available to be used as services
    App\:
        resource: '../src/'
        exclude:
            - '../src/DependencyInjection/'
            - '../src/Entity/'
            - '../src/Kernel.php'

    # Configuration explicite de l'EventListener si nécessaire
    App\EventListener\AuthenticationListener:
        tags:
            - { name: kernel.event_listener, event: kernel.request, priority: 10 }
