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.

31 lines
722B

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