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.

17 lines
471B

  1. <?php
  2. namespace domain\Subscription\ProductSubscription;
  3. use domain\_\AbstractBuilder;
  4. use domain\Subscription\Subscription\Subscription;
  5. class ProductSubscriptionBuilder extends AbstractBuilder
  6. {
  7. public function instanciateProductSubscription(Subscription $subscription): ProductSubscription
  8. {
  9. $productSubscription = new ProductSubscription();
  10. $productSubscription->setSubscription($subscription);
  11. return $productSubscription;
  12. }
  13. }