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.

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