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.

36 lines
1.0KB

  1. <?php
  2. namespace common\logic\Product\ProductPointSale\Wrapper;
  3. use common\logic\AbstractContainer;
  4. use common\logic\DefinitionInterface;
  5. use common\logic\Product\ProductPointSale\Repository\ProductPointSaleRepository;
  6. use common\logic\Product\ProductPointSale\Service\ProductPointSaleBuilder;
  7. use common\logic\Product\ProductPointSale\Service\ProductPointSaleDefinition;
  8. class ProductPointSaleContainer extends AbstractContainer
  9. {
  10. public function getServices(): array
  11. {
  12. return [
  13. ProductPointSaleDefinition::class,
  14. ProductPointSaleRepository::class,
  15. ProductPointSaleBuilder::class,
  16. ];
  17. }
  18. public function getDefinition(): DefinitionInterface
  19. {
  20. return ProductPointSaleDefinition::getInstance();
  21. }
  22. public function getRepository(): ProductPointSaleRepository
  23. {
  24. return ProductPointSaleRepository::getInstance();
  25. }
  26. public function getBuilder(): ProductPointSaleBuilder
  27. {
  28. return ProductPointSaleBuilder::getInstance();
  29. }
  30. }