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.

23 lines
558B

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