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.

100 lines
4.8KB

  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.reminder.route_render_modal: 'sov_admin_reminder_render_modal'
  10. app.reminder.route_new: 'sov_admin_reminder_new'
  11. services:
  12. # default configuration for services in *this* file
  13. _defaults:
  14. autowire: true # Automatically injects dependencies in your services.
  15. autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.
  16. # makes classes in src/ available to be used as services
  17. # this creates a service per class whose id is the fully-qualified class name
  18. App\:
  19. resource: '../src/'
  20. exclude:
  21. - '../src/DependencyInjection/'
  22. - '../src/Entity/'
  23. - '../src/Kernel.php'
  24. - '../src/Tests/'
  25. # controllers are imported separately to make sure services can be injected
  26. # as action arguments even if you don't extend any base controller class
  27. App\Controller\:
  28. resource: '../src/Controller/'
  29. tags: ['controller.service_arguments']
  30. carac.merchant.resolver:
  31. alias: Lc\CaracoleBundle\Resolver\MerchantResolver
  32. public: true
  33. Lc\CaracoleBundle\:
  34. resource: '../Lc/CaracoleBundle/'
  35. exclude:
  36. - '../Lc/CaracoleBundle/DependencyInjection/'
  37. - '../Lc/CaracoleBundle/Entity/'
  38. - '../Lc/CaracoleBundle/Kernel.php'
  39. - '../Lc/CaracoleBundle/Tests/'
  40. Lc\CaracoleBundle\Controller\:
  41. resource: '../Lc/CaracoleBundle/Controller/'
  42. tags: [ 'controller.service_arguments' ]
  43. # add more service definitions when explicit configuration is needed
  44. # please note that last definitions always *replace* previous ones
  45. # Definition
  46. #Lc\CaracoleBundle\Definition\MerchantSettingDefinition:
  47. # class: App\Definition\MerchantSettingDefinition
  48. #Lc\SovBundle\Definition\SiteSettingDefinition:
  49. # class: App\Definition\SiteSettingDefinition
  50. # Repository
  51. #Lc\SovBundle\Repository\Reminder\ReminderRepositoryInterface:
  52. # class: Lc\SovBundle\Repository\Reminder\ReminderRepository
  53. #Lc\SovBundle\Repository\File\FileRepositoryInterface:
  54. # class: Lc\SovBundle\Repository\File\FileRepository
  55. #Lc\SovBundle\Repository\Newsletter\NewsletterRepositoryInterface:
  56. # class: Lc\SovBundle\Repository\Newsletter\NewsletterRepository
  57. #Lc\SovBundle\Repository\Setting\SiteSettingRepositoryInterface:
  58. # class: Lc\SovBundle\Repository\Setting\SiteSettingRepository
  59. #Lc\SovBundle\Repository\Site\SiteRepositoryInterface:
  60. # class: Lc\SovBundle\Repository\Site\SiteRepository
  61. #Lc\SovBundle\Repository\Site\PageRepositoryInterface:
  62. # class: Lc\SovBundle\Repository\Site\PageRepository
  63. #Lc\SovBundle\Repository\Site\NewsRepositoryInterface:
  64. # class: Lc\SovBundle\Repository\Site\NewsRepository
  65. #Lc\SovBundle\Repository\Ticket\TicketRepositoryInterface:
  66. # class: Lc\SovBundle\Repository\Ticket\TicketRepository
  67. #Lc\SovBundle\Repository\Ticket\TicketMessageRepositoryInterface:
  68. # class: Lc\SovBundle\Repository\Ticket\TicketMessageRepository
  69. #Lc\SovBundle\Repository\User\GroupUserRepositoryInterface:
  70. # class: Lc\CaracoleBundle\Repository\User\GroupUserRepository
  71. #Lc\SovBundle\Repository\User\UserRepositoryInterface:
  72. # class: Lc\SovBundle\Repository\User\UserRepository
  73. #Lc\CaracoleBundle\Repository\Merchant\MerchantRepositoryInterface:
  74. # class: Lc\CaracoleBundle\Repository\Merchant\MerchantRepository
  75. #Lc\CaracoleBundle\Repository\User\UserMerchantRepositoryInterface:
  76. # class: Lc\CaracoleBundle\Repository\User\UserMerchantRepository
  77. #Lc\CaracoleBundle\Repository\User\VisitorRepositoryInterface:
  78. # class: Lc\CaracoleBundle\Repository\User\VisitorRepository
  79. #Lc\CaracoleBundle\Repository\Section\SectionRepositoryInterface:
  80. # class: Lc\CaracoleBundle\Repository\Section\SectionRepository
  81. #Lc\CaracoleBundle\Repository\PointSale\PointSaleRepositoryInterface:
  82. # class: Lc\CaracoleBundle\Repository\PointSale\PointSaleRepository
  83. #Lc\CaracoleBundle\Repository\Credit\CreditHistoryRepositoryInterface:
  84. # class: Lc\CaracoleBundle\Repository\Credit\CreditHistoryRepository
  85. # Factory
  86. #Lc\SovBundle\Factory\Reminder\ReminderFactoryInterface:
  87. # class: Lc\CaracoleBundle\Factory\Reminder\ReminderFactory
  88. #Lc\SovBundle\Factory\Ticket\TicketFactoryInterface:
  89. # class: Lc\CaracoleBundle\Factory\Ticket\TicketFactory