Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

47 lines
2.0KB

  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: 'laclic.png'
  10. app.reminder.route_render_modal: 'sov_admin_reminder_render_modal'
  11. app.assets_directory: '%kernel.project_dir%/public/assets/'
  12. services:
  13. # default configuration for services in *this* file
  14. _defaults:
  15. autowire: true # Automatically injects dependencies in your services.
  16. autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.
  17. # makes classes in src/ available to be used as services
  18. # this creates a service per class whose id is the fully-qualified class name
  19. App\:
  20. resource: '../src/'
  21. exclude:
  22. - '../src/DependencyInjection/'
  23. - '../src/Entity/'
  24. - '../src/Kernel.php'
  25. - '../src/Tests/'
  26. # controllers are imported separately to make sure services can be injected
  27. # as action arguments even if you don't extend any base controller class
  28. App\Controller\:
  29. resource: '../src/Controller/'
  30. tags: ['controller.service_arguments']
  31. Mailjet\MailjetSwiftMailer\SwiftMailer\MailjetTransport: '@swiftmailer.mailer.transport.mailjet'
  32. #Pour remplacer le form cookie consent
  33. # app.form.extension.type.cookie_consent:
  34. # class: App\Form\CookieConsent
  35. # tags:
  36. # - { name: form.type_extension, extended_type: ConnectHolland\CookieConsentBundle\Form\CookieConsentType }
  37. # arguments:
  38. # - '@ConnectHolland\CookieConsentBundle\Cookie\CookieChecker'
  39. # - '%ch_cookie_consent.categories%'
  40. # - '%ch_cookie_consent.simplified%'