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 domain\Subscription\ProductSubscription;
-
- use domain\_\AbstractBuilder;
-
- class ProductSubscriptionBuilder extends AbstractBuilder
- {
- public function instanciateProductSubscription(): ProductSubscription
- {
- $productSubscription = new ProductSubscription();
-
- return $productSubscription;
- }
-
- public function createProductSubscription(): ProductSubscription
- {
- $productSubscription = $this->instanciateProductSubscription();
- $this->saveCreate($productSubscription);
-
- return $productSubscription;
- }
- }
|