No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

AutomaticEmailModule.php 1.0KB

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