addAction() public méthode

public addAction ( string $actionName )
$actionName string
 /**
  * @Given I add the :actionType action configured with a percentage value of :percentage%
  * @Given I add the :actionType action configured without a percentage value
  *
  */
 public function iAddTheActionConfiguredWithAPercentageValue($actionType, $percentage = null)
 {
     $this->createPage->addAction($actionType);
     $this->createPage->fillActionOption('Percentage', $percentage);
 }
 /**
  * @Given I add the "Order fixed discount" action configured with €:amount
  */
 public function stepDefinition($amount)
 {
     $this->createPage->addAction('Order fixed discount');
     $this->createPage->fillActionOption('Amount', $amount);
 }