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

public getItemDiscount ( string $itemName ) : string
$itemName string
Результат string
Пример #1
0
 /**
  * @Then /^(its) discount should be ([^"]+)$/
  * @Then the :itemName should have :discount discount
  */
 public function theItemShouldHaveDiscount($itemName, $discount)
 {
     $itemDiscountOnPage = $this->showPage->getItemDiscount($itemName);
     Assert::eq($itemDiscountOnPage, $discount, 'Item discount is %s, but should be %s.');
 }