コード例 #1
0
ファイル: CheckoutContext.php プロジェクト: remyma/Sylius
 /**
  * @When /^I specify the billing (address as "([^"]+)", "([^"]+)", "([^"]+)", "([^"]+)" for "([^"]+)")$/
  * @When /^I (do not specify any billing address) information$/
  */
 public function iSpecifyTheBillingAddressAs(AddressInterface $address)
 {
     $this->iChooseTheDifferentBillingAddress();
     $key = sprintf('billing_address_%s_%s', strtolower($address->getFirstName()), strtolower($address->getLastName()));
     $this->sharedStorage->set($key, $address);
     $this->addressingPage->specifyBillingAddress($address);
 }
コード例 #2
0
ファイル: CheckoutContext.php プロジェクト: polisys/Sylius
 /**
  * @When /^I specify the billing (address as "([^"]+)", "([^"]+)", "([^"]+)", "([^"]+)" for "([^"]+)")$/
  * @When /^I (do not specify any billing address) information$/
  */
 public function iSpecifyTheBillingAddressAs(AddressInterface $address)
 {
     $this->addressingPage->specifyBillingAddress($address);
 }