Sylius\Behat\Page\Admin\ProductVariant\GeneratePageInterface::nameCode PHP Method

nameCode() public method

public nameCode ( integer $nth, string $code )
$nth integer
$code string
    public function nameCode($nth, $code);

Usage Example

 /**
  * @When /^I specify that the (\d)(?:st|nd|rd|th) variant is identified by "([^"]+)" code$/
  */
 public function iSpecifyThereAreVariantsIdentifiedByCode($nthVariant, $code)
 {
     $this->generatePage->nameCode($nthVariant, $code - 1);
 }