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.

ProductPointSaleModule.php 778B

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