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.

35 line
969B

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