Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

ApplicationDefinition.php 4.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. <?php
  2. namespace Lc\CaracoleBundle\Definition;
  3. use Lc\CaracoleBundle\Container\Address\AddressContainer;
  4. use Lc\CaracoleBundle\Container\Config\TaxRateContainer;
  5. use Lc\CaracoleBundle\Container\Config\UnitContainer;
  6. use Lc\CaracoleBundle\Container\Credit\CreditHistoryContainer;
  7. use Lc\CaracoleBundle\Container\Distribution\DistributionContainer;
  8. use Lc\CaracoleBundle\Container\File\DocumentContainer;
  9. use Lc\CaracoleBundle\Container\Merchant\MerchantContainer;
  10. use Lc\CaracoleBundle\Container\Order\OrderPaymentContainer;
  11. use Lc\CaracoleBundle\Container\Order\OrderProductContainer;
  12. use Lc\CaracoleBundle\Container\Order\OrderProductReductionCatalogContainer;
  13. use Lc\CaracoleBundle\Container\Order\OrderProductRefundContainer;
  14. use Lc\CaracoleBundle\Container\Order\OrderReductionCartContainer;
  15. use Lc\CaracoleBundle\Container\Order\OrderReductionCreditContainer;
  16. use Lc\CaracoleBundle\Container\Order\OrderRefundContainer;
  17. use Lc\CaracoleBundle\Container\Order\OrderShopContainer;
  18. use Lc\CaracoleBundle\Container\Order\OrderStatusContainer;
  19. use Lc\CaracoleBundle\Container\Order\OrderStatusHistoryContainer;
  20. use Lc\CaracoleBundle\Container\PointSale\PointSaleContainer;
  21. use Lc\CaracoleBundle\Container\PointSale\PointSaleSectionContainer;
  22. use Lc\CaracoleBundle\Container\Product\ProductCategoryContainer;
  23. use Lc\CaracoleBundle\Container\Product\ProductContainer;
  24. use Lc\CaracoleBundle\Container\Product\ProductFamilyContainer;
  25. use Lc\CaracoleBundle\Container\Product\ProductFamilySectionPropertyContainer;
  26. use Lc\CaracoleBundle\Container\Product\QualityLabelContainer;
  27. use Lc\CaracoleBundle\Container\Reduction\ReductionCartContainer;
  28. use Lc\CaracoleBundle\Container\Reduction\ReductionCatalogContainer;
  29. use Lc\CaracoleBundle\Container\Reduction\ReductionCreditContainer;
  30. use Lc\CaracoleBundle\Container\Section\OpeningContainer;
  31. use Lc\CaracoleBundle\Container\Section\SectionContainer;
  32. use Lc\CaracoleBundle\Container\Setting\MerchantSettingContainer;
  33. use Lc\CaracoleBundle\Container\Setting\SectionSettingContainer;
  34. use Lc\CaracoleBundle\Container\User\UserMerchantContainer;
  35. use Lc\CaracoleBundle\Container\User\UserPointSaleContainer;
  36. use Lc\CaracoleBundle\Container\User\VisitorContainer;
  37. use Lc\SovBundle\Definition\ApplicationDefinition as SovAbstractApplicationDefinition;
  38. class ApplicationDefinition extends SovAbstractApplicationDefinition
  39. {
  40. public static function getContainerList(): array
  41. {
  42. return array_merge(parent::getContainerList(), [
  43. OrderShopContainer::class,
  44. AddressContainer::class,
  45. TaxRateContainer::class,
  46. UnitContainer::class,
  47. CreditHistoryContainer::class,
  48. DocumentContainer::class,
  49. MerchantContainer::class,
  50. OrderPaymentContainer::class,
  51. OrderProductContainer::class,
  52. OrderProductReductionCatalogContainer::class,
  53. OrderProductRefundContainer::class,
  54. OrderReductionCartContainer::class,
  55. OrderReductionCreditContainer::class,
  56. OrderRefundContainer::class,
  57. OrderStatusContainer::class,
  58. OrderStatusHistoryContainer::class,
  59. PointSaleContainer::class,
  60. ProductCategoryContainer::class,
  61. ProductContainer::class,
  62. ProductFamilyContainer::class,
  63. ReductionCartContainer::class,
  64. ReductionCatalogContainer::class,
  65. ReductionCreditContainer::class,
  66. OpeningContainer::class,
  67. SectionContainer::class,
  68. MerchantSettingContainer::class,
  69. SectionSettingContainer::class,
  70. UserMerchantContainer::class,
  71. UserPointSaleContainer::class,
  72. VisitorContainer::class,
  73. DistributionContainer::class,
  74. ProductFamilySectionPropertyContainer::class,
  75. QualityLabelContainer::class,
  76. PointSaleSectionContainer::class,
  77. ]);
  78. }
  79. public static function getSubscribedContainerServices(): array
  80. {
  81. $array = [];
  82. foreach (self::getContainerList() as $container) {
  83. $array[$container] = $container;
  84. }
  85. return $array;
  86. }
  87. }