# see https://symfony.com/doc/current/reference/configuration/framework.html
framework:
    secret: '%env(APP_SECRET)%'
    default_locale: 'fr'
    translator:
        fallbacks: ['fr']
        default_path: '%kernel.project_dir%/translations'
    csrf_protection: true
    validation:
        enable_annotations: true
    #http_method_override: true

    # Enables session support. Note that the session will ONLY be started if you read or write from it.
    # Remove or comment this section to explicitly disable session support.
    session:
        handler_id: ~
        cookie_secure: auto
        cookie_samesite: lax
        cookie_lifetime: 0

    #esi: true
    #fragments: true
    templating:
        engines: ['twig', 'php']
    php_errors:
        log: true
