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.

35 satır
1.0KB

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