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.

57 lines
1.8KB

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