/** * @Given /^I want to modify the ("[^"]+" coupon) for (this promotion)$/ */ public function iWantToModifyTheCoupon(PromotionCouponInterface $coupon, PromotionInterface $promotion) { $this->updatePage->open(['id' => $coupon->getId(), 'promotionId' => $promotion->getId()]); }