您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

ProductPointSaleContainer.php 915B

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