Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

56 lines
1.8KB

  1. parameters:
  2. app.admin.logo: 'laclic.png'
  3. app.site_name: 'laclic-sov'
  4. app.mail_debug: ''
  5. services:
  6. _defaults:
  7. autowire: true # Automatically injects dependencies in your services.
  8. autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.
  9. Lc\SovBundle\:
  10. resource: '../../'
  11. exclude:
  12. - '../../DependencyInjection/'
  13. - '../../Entity/'
  14. - '../../Doctrine/QueryBuilder'
  15. - '../../Kernel.php'
  16. - '../../Tests/'
  17. Lc\SovBundle\Controller\:
  18. resource: '../../Controller/'
  19. tags: [ 'controller.service_arguments' ]
  20. Lc\SovBundle\Form\Common\CrudFormType:
  21. decorates: EasyCorp\Bundle\EasyAdminBundle\Form\Type\CrudFormType
  22. arguments: [ '@form.type_guesser.doctrine', '@.inner' ]
  23. Lc\SovBundle\Doctrine\EntityManager:
  24. public: false
  25. decoration_priority: 1
  26. decorates: doctrine.orm.default_entity_manager
  27. arguments: [ "@.inner" ]
  28. # Lc\SovBundle\Repository\EntityRepository:
  29. # decorates: EasyCorp\Bundle\EasyAdminBundle\Orm\EntityRepository
  30. # decoration_priority: 5
  31. # arguments: [ "@.inner", '@doctrine.orm.default_entity_manager', '@Knp\Component\Pager\PaginatorInterface' ]
  32. Lc\SovBundle\Maker\:
  33. resource: '../../Maker/'
  34. tags: [ 'maker.command' ]
  35. Lc\SovBundle\EventListener\ExceptionListener:
  36. tags:
  37. - { name: kernel.event_listener, event: kernel.exception }
  38. #Form par défaut du cookie consent
  39. app.form.extension.type.cookie_consent:
  40. class: Lc\SovBundle\Form\Common\CookieConsentTypeExtension
  41. tags:
  42. - { name: form.type_extension, extended_type: ConnectHolland\CookieConsentBundle\Form\CookieConsentType }
  43. arguments:
  44. - '@ConnectHolland\CookieConsentBundle\Cookie\CookieChecker'
  45. - '%ch_cookie_consent.categories%'
  46. - '%ch_cookie_consent.simplified%'