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 satır
1.1KB

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