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.

ProducerPriceRangeContainer.php 1.0KB

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. namespace common\logic\Producer\ProducerPriceRange\Wrapper;
  3. use common\logic\AbstractContainer;
  4. use common\logic\Producer\ProducerPriceRange\Repository\ProducerPriceRangeRepository;
  5. use common\logic\Producer\ProducerPriceRange\Service\ProducerPriceRangeBuilder;
  6. use common\logic\Producer\ProducerPriceRange\Service\ProducerPriceRangeDefinition;
  7. class ProducerPriceRangeContainer extends AbstractContainer
  8. {
  9. public function getServices(): array
  10. {
  11. return [
  12. ProducerPriceRangeDefinition::class,
  13. ProducerPriceRangeRepository::class,
  14. ProducerPriceRangeBuilder::class,
  15. ];
  16. }
  17. public function getDefinition(): ProducerPriceRangeDefinition
  18. {
  19. return ProducerPriceRangeDefinition::getInstance();
  20. }
  21. public function getRepository(): ProducerPriceRangeRepository
  22. {
  23. return ProducerPriceRangeRepository::getInstance();
  24. }
  25. public function getBuilder(): ProducerPriceRangeBuilder
  26. {
  27. return ProducerPriceRangeBuilder::getInstance();
  28. }
  29. }