You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 satır
740B

  1. <?php
  2. namespace domain\Feature\FeatureProducer;
  3. use domain\_\AbstractModule;
  4. class FeatureProducerModule extends AbstractModule
  5. {
  6. public function getServices(): array
  7. {
  8. return [
  9. FeatureProducerDefinition::class,
  10. FeatureProducerRepository::class,
  11. FeatureProducerBuilder::class,
  12. ];
  13. }
  14. public function getDefinition(): FeatureProducerDefinition
  15. {
  16. return FeatureProducerDefinition::getInstance();
  17. }
  18. public function getRepository(): FeatureProducerRepository
  19. {
  20. return FeatureProducerRepository::getInstance();
  21. }
  22. public function getBuilder(): FeatureProducerBuilder
  23. {
  24. return FeatureProducerBuilder::getInstance();
  25. }
  26. }