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.

RotatingProductModule.php 906B

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. namespace domain\Product\RotatingProduct;
  3. use domain\_\AbstractModule;
  4. class RotatingProductModule extends AbstractModule
  5. {
  6. public function getServices(): array
  7. {
  8. return [
  9. RotatingProductDefinition::class,
  10. RotatingProductBuilder::class,
  11. RotatingProductRepository::class,
  12. RotatingProductManager::class
  13. ];
  14. }
  15. public function getDefinition(): RotatingProductDefinition
  16. {
  17. return RotatingProductDefinition::getInstance();
  18. }
  19. public function getBuilder(): RotatingProductBuilder
  20. {
  21. return RotatingProductBuilder::getInstance();
  22. }
  23. public function getRepository(): RotatingProductRepository
  24. {
  25. return RotatingProductRepository::getInstance();
  26. }
  27. public function getManager(): RotatingProductManager
  28. {
  29. return RotatingProductManager::getInstance();
  30. }
  31. }