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\Product\ProductPrice\Service;
-
- use common\logic\AbstractBuilder;
- use common\logic\Product\ProductPrice\Model\ProductPrice;
-
- class ProductPriceBuilder extends AbstractBuilder
- {
- public function instanciateProductPrice(): ProductPrice
- {
- $productPrice = new ProductPrice();
-
- return $productPrice;
- }
-
- public function createProductPrice(): ProductPrice
- {
- $productPrice = $this->instanciateProductPrice();
- $this->saveCreate($productPrice);
-
- return $productPrice;
- }
- }
|