Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

PointSaleDistributionContainer.php 1010B

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