selectRuleOption() public method

public selectRuleOption ( string $option, string $value, boolean $multiple = false )
$option string
$value string
$multiple boolean
コード例 #1
0
 /**
  * @Given I add the "Total price of items from taxon" rule configured with :count :taxonName
  */
 public function iAddTheRuleConfiguredWith($count, $taxonName)
 {
     $this->createPage->addRule('Total price of items from taxon');
     $this->createPage->selectRuleOption('Taxon', $taxonName);
     $this->createPage->fillRuleOption('Amount', $count);
 }
コード例 #2
0
 /**
  * @When I add the "Contains product" rule configured with the :productName product
  */
 public function iAddTheRuleConfiguredWithTheProduct($productName)
 {
     $this->createPage->addRule('Contains product');
     $this->createPage->selectRuleOption('Product', $productName);
 }