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 line
552B

  1. <?php
  2. namespace domain\Producer\ProducerPriceRange;
  3. use domain\_\AbstractBuilder;
  4. class ProducerPriceRangeBuilder extends AbstractBuilder
  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->create($producerPriceRange);
  15. return $producerPriceRange;
  16. }
  17. }