Sylius\Behat\Page\Admin\PaymentMethod\UpdatePageInterface::getPaymentMethodInstructions PHP Method

getPaymentMethodInstructions() public method

public getPaymentMethodInstructions ( string $language ) : string
$language string
return string
    public function getPaymentMethodInstructions($language);

Usage Example

 /**
  * @Given the payment method :paymentMethod should have instructions :instructions in :language
  */
 public function thePaymentMethodShouldHaveInstructionsIn(PaymentMethodInterface $paymentMethod, $instructions, $language)
 {
     $this->iWantToModifyAPaymentMethod($paymentMethod);
     Assert::same($this->updatePage->getPaymentMethodInstructions($language), $instructions);
 }