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.

UserMessageModule.php 847B

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