Sylius\Behat\Page\Admin\Promotion\CreatePageInterface::fillRuleOption PHP Метод

fillRuleOption() публичный Метод

public fillRuleOption ( string $option, string $value )
$option string
$value string
    public function fillRuleOption($option, $value);

Usage Example

 /**
  * @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);
 }