You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
1.4KB

  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.admin.logo: 'Logo-Aux-Actes-Citoyens.jpg'
  10. app.reminder.route_render_modal: 'sov_admin_reminder_render_modal'
  11. services:
  12. # default configuration for services in *this* file
  13. _defaults:
  14. autowire: true # Automatically injects dependencies in your services.
  15. autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.
  16. # makes classes in src/ available to be used as services
  17. # this creates a service per class whose id is the fully-qualified class name
  18. App\:
  19. resource: '../src/'
  20. exclude:
  21. - '../src/DependencyInjection/'
  22. - '../src/Entity/'
  23. - '../src/Kernel.php'
  24. - '../src/Tests/'
  25. # controllers are imported separately to make sure services can be injected
  26. # as action arguments even if you don't extend any base controller class
  27. App\Controller\:
  28. resource: '../src/Controller/'
  29. tags: ['controller.service_arguments']