Sylius\Behat\Page\Admin\ProductVariant\GeneratePageInterface::removeVariant PHP Méthode

removeVariant() public méthode

public removeVariant ( integer $nth )
$nth integer
    public function removeVariant($nth);

Usage Example

 /**
  * @When /^I remove (\d)(?:st|nd|rd|th) variant from the list$/
  */
 public function iRemoveVariantFromTheList($nthVariant)
 {
     $this->generatePage->removeVariant($nthVariant - 1);
 }