Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

ProducerPriceRangeContainer.php 949B

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