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.

32 rindas
788B

  1. <?php
  2. namespace domain\Subscription\ProductSubscription;
  3. use domain\_\AbstractModule;
  4. class ProductSubscriptionModule extends AbstractModule
  5. {
  6. public function getServices(): array
  7. {
  8. return [
  9. ProductSubscriptionDefinition::class,
  10. ProductSubscriptionRepository::class,
  11. ProductSubscriptionBuilder::class
  12. ];
  13. }
  14. public function getDefinition(): ProductSubscriptionDefinition
  15. {
  16. return ProductSubscriptionDefinition::getInstance();
  17. }
  18. public function getRepository(): ProductSubscriptionRepository
  19. {
  20. return ProductSubscriptionRepository::getInstance();
  21. }
  22. public function getFactory(): ProductSubscriptionBuilder
  23. {
  24. return ProductSubscriptionBuilder::getInstance();
  25. }
  26. }