Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

44 lines
1.0KB

  1. <?php
  2. namespace domain\Communication\AutomaticEmail;
  3. use domain\_\AbstractModule;
  4. class AutomaticEmailModule extends AbstractModule
  5. {
  6. public function getServices(): array
  7. {
  8. return [
  9. AutomaticEmailDefinition::class,
  10. AutomaticEmailBuilder::class,
  11. AutomaticEmailRepository::class,
  12. AutomaticEmailResolver::class,
  13. AutomaticEmailManager::class
  14. ];
  15. }
  16. public function getDefinition(): AutomaticEmailDefinition
  17. {
  18. return AutomaticEmailDefinition::getInstance();
  19. }
  20. public function getBuilder(): AutomaticEmailBuilder
  21. {
  22. return AutomaticEmailBuilder::getInstance();
  23. }
  24. public function getRepository(): AutomaticEmailRepository
  25. {
  26. return AutomaticEmailRepository::getInstance();
  27. }
  28. public function getResolver(): AutomaticEmailResolver
  29. {
  30. return AutomaticEmailResolver::getInstance();
  31. }
  32. public function getManager(): AutomaticEmailManager
  33. {
  34. return AutomaticEmailManager::getInstance();
  35. }
  36. }