Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

services.yaml 2.0KB

před 3 roky
před 3 roky
před 3 roky
před 3 roky
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. 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%'
  40. welp_mailchimp:
  41. api_key: 86a597a26c06a1896fe0adc58d1e8aef-us2