Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

34 lines
878B

  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. }