2025-12-09 17:10:57 +01:00
|
|
|
# This file is the entry point to configure your own services.
|
|
|
|
|
# Files in the packages/ subdirectory configure your dependencies.
|
|
|
|
|
|
|
|
|
|
# Put parameters here that don't need to change on each machine where the app is deployed
|
|
|
|
|
# https://symfony.com/doc/current/best_practices.html#use-parameters-for-application-configuration
|
|
|
|
|
parameters:
|
|
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
# default configuration for services in *this* file
|
|
|
|
|
_defaults:
|
|
|
|
|
autowire: true # Automatically injects dependencies in your services.
|
|
|
|
|
autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.
|
|
|
|
|
|
|
|
|
|
# makes classes in src/ available to be used as services
|
|
|
|
|
# this creates a service per class whose id is the fully-qualified class name
|
|
|
|
|
App\:
|
|
|
|
|
resource: '../src/'
|
|
|
|
|
|
2026-01-15 20:35:46 +01:00
|
|
|
|
2025-12-11 17:22:26 +01:00
|
|
|
App\Twig\ViteAssetExtension:
|
|
|
|
|
arguments:
|
|
|
|
|
$manifest: '%kernel.project_dir%/public/build/.vite/manifest.json'
|
|
|
|
|
$cache: '@vite_cache_pool'
|
2026-01-15 20:35:46 +01:00
|
|
|
# Utilisation du listener de Nelmio (identifiant officiel)
|
|
|
|
|
$cspListener: '@nelmio_security.csp_listener'
|
2026-01-20 11:44:38 +01:00
|
|
|
|
2026-01-21 14:04:33 +01:00
|
|
|
|
2026-01-21 14:00:54 +01:00
|
|
|
App\Security\MaintenanceListener:
|
|
|
|
|
arguments:
|
2026-01-21 14:04:33 +01:00
|
|
|
$projectDir: '%kernel.project_dir%'
|
2026-01-21 14:00:54 +01:00
|
|
|
tags:
|
|
|
|
|
- { name: kernel.event_listener, event: kernel.request, priority: 255 }
|
2026-01-21 14:04:33 +01:00
|
|
|
|
|
|
|
|
App\Command\MaintenanceCommand:
|
|
|
|
|
arguments:
|
|
|
|
|
$projectDir: '%kernel.project_dir%'
|
2026-02-06 17:46:30 +01:00
|
|
|
|
|
|
|
|
App\Event\Seo\SeoBlockerSubscriber:
|
|
|
|
|
arguments:
|
|
|
|
|
$projectDir: '%kernel.project_dir%'
|
|
|
|
|
|
|
|
|
|
App\Twig\OnlineExtension:
|
|
|
|
|
arguments:
|
|
|
|
|
$projectDir: '%kernel.project_dir%'
|