No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

services.yaml 2.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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. services:
  10. # default configuration for services in *this* file
  11. _defaults:
  12. autowire: true # Automatically injects dependencies in your services.
  13. autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.
  14. # makes classes in src/ available to be used as services
  15. # this creates a service per class whose id is the fully-qualified class name
  16. App\:
  17. resource: '../src/'
  18. exclude:
  19. - '../src/DependencyInjection/'
  20. - '../src/Entity/'
  21. - '../src/Kernel.php'
  22. - '../src/Tests/'
  23. # controllers are imported separately to make sure services can be injected
  24. # as action arguments even if you don't extend any base controller class
  25. App\Controller\:
  26. resource: '../src/Controller/'
  27. tags: ['controller.service_arguments']
  28. Lc\SovBundle\:
  29. resource: '../Lc/SovBundle/'
  30. exclude:
  31. - '../Lc/SovBundle/DependencyInjection/'
  32. - '../Lc/SovBundle/Entity/'
  33. - '../Lc/SovBundle/Kernel.php'
  34. - '../Lc/SovBundle/Tests/'
  35. Lc\SovBundle\Controller\:
  36. resource: '../Lc/SovBundle/Controller/'
  37. tags: [ 'controller.service_arguments' ]
  38. Lc\CaracoleBundle\:
  39. resource: '../Lc/CaracoleBundle/'
  40. exclude:
  41. - '../Lc/CaracoleBundle/DependencyInjection/'
  42. - '../Lc/CaracoleBundle/Entity/'
  43. - '../Lc/CaracoleBundle/Kernel.php'
  44. - '../Lc/CaracoleBundle/Tests/'
  45. Lc\CaracoleBundle\Controller\:
  46. resource: '../Lc/CaracoleBundle/Controller/'
  47. tags: [ 'controller.service_arguments' ]
  48. # add more service definitions when explicit configuration is needed
  49. # please note that last definitions always *replace* previous ones