You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 line
1.3KB

  1. services:
  2. _defaults:
  3. autowire: true # Automatically injects dependencies in your services.
  4. autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.
  5. Lc\SovBundle\:
  6. resource: '../../'
  7. exclude:
  8. - '../../DependencyInjection/'
  9. - '../../Entity/'
  10. - '../../Doctrine/QueryBuilder'
  11. - '../../Kernel.php'
  12. - '../../Tests/'
  13. Lc\SovBundle\Controller\:
  14. resource: '../../Controller/'
  15. tags: [ 'controller.service_arguments' ]
  16. Lc\SovBundle\Form\Common\CrudFormType:
  17. decorates: EasyCorp\Bundle\EasyAdminBundle\Form\Type\CrudFormType
  18. arguments: [ '@form.type_guesser.doctrine', '@.inner' ]
  19. Lc\SovBundle\Doctrine\EntityManager:
  20. public: false
  21. decoration_priority: 1
  22. decorates: doctrine.orm.default_entity_manager
  23. arguments: [ "@.inner" ]
  24. # Lc\SovBundle\Repository\EntityRepository:
  25. # decorates: EasyCorp\Bundle\EasyAdminBundle\Orm\EntityRepository
  26. # decoration_priority: 5
  27. # arguments: [ "@.inner", '@doctrine.orm.default_entity_manager', '@Knp\Component\Pager\PaginatorInterface' ]
  28. Lc\SovBundle\Maker\:
  29. resource: '../../Maker/'
  30. tags: [ 'maker.command' ]
  31. Lc\SovBundle\EventListener\ExceptionListener:
  32. tags:
  33. - { name: kernel.event_listener, event: kernel.exception }
  34. parameters:
  35. app.admin.logo: 'laclic.png'