Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

ProducerPriceRangeBuilder.php 645B

123456789101112131415161718192021222324
  1. <?php
  2. namespace common\logic\Producer\ProducerPriceRange\Service;
  3. use common\logic\AbstractBuilder;
  4. use common\logic\Producer\ProducerPriceRange\Model\ProducerPriceRange;
  5. class ProducerPriceRangeBuilder extends AbstractBuilder
  6. {
  7. public function instanciateProducerPriceRange(): ProducerPriceRange
  8. {
  9. $producerPriceRange = new ProducerPriceRange();
  10. return $producerPriceRange;
  11. }
  12. public function createProducerPriceRange(): ProducerPriceRange
  13. {
  14. $producerPriceRange = $this->instanciateProducerPriceRange();
  15. $this->saveCreate($producerPriceRange);
  16. return $producerPriceRange;
  17. }
  18. }