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.

UserPointSaleContainer.php 878B

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