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.

33 lines
778B

  1. <?php
  2. namespace domain\Product\ProductPointSale;
  3. use domain\_\AbstractModule;
  4. use domain\_\DefinitionInterface;
  5. class ProductPointSaleModule extends AbstractModule
  6. {
  7. public function getServices(): array
  8. {
  9. return [
  10. ProductPointSaleDefinition::class,
  11. ProductPointSaleRepository::class,
  12. ProductPointSaleBuilder::class,
  13. ];
  14. }
  15. public function getDefinition(): DefinitionInterface
  16. {
  17. return ProductPointSaleDefinition::getInstance();
  18. }
  19. public function getRepository(): ProductPointSaleRepository
  20. {
  21. return ProductPointSaleRepository::getInstance();
  22. }
  23. public function getBuilder(): ProductPointSaleBuilder
  24. {
  25. return ProductPointSaleBuilder::getInstance();
  26. }
  27. }