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.

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