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.

34 line
949B

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