No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

35 líneas
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. }