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.

ProducerPriceRangeModule.php 774B

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