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

    # Note that the session will be started ONLY if you read or write from it.
    session:
        enabled: true
        storage_factory_id: session.storage.factory.native
        handler_id: null
        save_path: '%kernel.project_dir%/var/sessions'

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