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.

45 lines
1.9KB

  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. app.form.extension.type.cookie_consent:
  33. class: App\Form\CookieConsentTypeExtension
  34. tags:
  35. - { name: form.type_extension, extended_type: ConnectHolland\CookieConsentBundle\Form\CookieConsentType }
  36. arguments:
  37. - '@ConnectHolland\CookieConsentBundle\Cookie\CookieChecker'
  38. - '%ch_cookie_consent.categories%'
  39. - '%ch_cookie_consent.simplified%'