# see https://symfony.com/doc/current/reference/configuration/framework.html
framework:
    secret: '%env(APP_SECRET)%'
    default_locale: fr
    enabled_locales: ['fr', 'en']
    
    # Note that the session will be started ONLY if you read or write from it.
    session:
        cookie_lifetime: 28800
        gc_maxlifetime: 28800

    #esi: true
    #fragments: true

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