Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

34 lines
1.3KB

  1. # This file is the entry point to configure your own services.
  2. # Files in the packages/ subdirectory configure your dependencies.
  3. # Put parameters here that don't need to change on each machine where the app is deployed
  4. # https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration
  5. parameters:
  6. app.locales: ["fr"]
  7. app.default_locale: "fr"
  8. app.path_uploads: '/uploads'
  9. app.reminder.route_render_modal: 'sov_admin_reminder_render_modal'
  10. services:
  11. # default configuration for services in *this* file
  12. _defaults:
  13. autowire: true # Automatically injects dependencies in your services.
  14. autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.
  15. # makes classes in src/ available to be used as services
  16. # this creates a service per class whose id is the fully-qualified class name
  17. App\:
  18. resource: '../src/'
  19. exclude:
  20. - '../src/DependencyInjection/'
  21. - '../src/Entity/'
  22. - '../src/Kernel.php'
  23. - '../src/Tests/'
  24. # controllers are imported separately to make sure services can be injected
  25. # as action arguments even if you don't extend any base controller class
  26. App\Controller\:
  27. resource: '../src/Controller/'
  28. tags: ['controller.service_arguments']