hanze/memory

memory-backend/config/packages/framework.yaml in main
Repositories | Summary | Log | Files

framework.yaml (714B) download


 1# see https://symfony.com/doc/current/reference/configuration/framework.html
 2framework:
 3    secret: '%env(APP_SECRET)%'
 4    #csrf_protection: true
 5    http_method_override: false
 6
 7    # Enables session support. Note that the session will ONLY be started if you read or write from it.
 8    # Remove or comment this section to explicitly disable session support.
 9    session:
10        handler_id: null
11        cookie_secure: auto
12        cookie_samesite: lax
13        storage_factory_id: session.storage.factory.native
14
15    #esi: true
16    #fragments: true
17    php_errors:
18        log: true
19
20when@test:
21    framework:
22        test: true
23        session:
24            storage_factory_id: session.storage.factory.mock_file