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.
|
- <?php
-
- namespace common\logic\Producer\ProducerPriceRange\Service;
-
- use common\logic\AbstractBuilder;
- use common\logic\Producer\ProducerPriceRange\Model\ProducerPriceRange;
-
- class ProducerPriceRangeBuilder extends AbstractBuilder
- {
- public function instanciateProducerPriceRange(): ProducerPriceRange
- {
- $producerPriceRange = new ProducerPriceRange();
-
- return $producerPriceRange;
- }
-
- public function createProducerPriceRange(): ProducerPriceRange
- {
- $producerPriceRange = $this->instanciateProducerPriceRange();
- $this->saveCreate($producerPriceRange);
-
- return $producerPriceRange;
- }
- }
|