framework:
    secret: '%env(APP_SECRET)%'
    http_method_override: true
    session:
        handler_id: null
        cookie_secure: auto
        cookie_samesite: lax
        storage_factory_id: session.storage.factory.native
    # When using the HTTP Cache, ESI allows to render page fragments separately
    # and with different cache configurations for each fragment
    # https://symfony.com/doc/current/book/http_cache.html#edge-side-includes
    esi: { enabled: true }
    fragments: { enabled: true }
    serializer:
        enabled: true
        enable_attributes: true
    disallow_search_engine_index: false
                
when@test:
    framework:
        test: true
        session:
            storage_factory_id: session.storage.factory.mock_file