Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

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