コード例 #1
0
 /**
  * Fill shipping information for each address and proceed to next step.
  *
  * @return void
  */
 public function run()
 {
     $shippingMethods = [];
     for ($i = 0; $i < count($this->customer->getAddress()); $i++) {
         $shippingMethods[] = $this->shippingMethod;
     }
     $this->shippingInformation->getShippingBlock()->selectShippingMethod($shippingMethods);
 }