# see https://symfony.com/doc/current/reference/configuration/framework.html
framework:
    secret: '%env(APP_SECRET)%'
    http_method_override: false

    session:
        name: '%env(APP_NAME)%'
        handler_id: null
        gc_probability: null
        cookie_secure: auto
        cookie_samesite: lax
        storage_factory_id: session.storage.factory.native

    php_errors:
        log: true

    messenger:
        reset_on_message: true

when@test:
    framework:
        test: true
        session:
            storage_factory_id: session.storage.factory.mock_file
