Ejemplo n.º 1
0
 /**
  * @param OrderInterface $order
  */
 private function completeCheckout(OrderInterface $order)
 {
     if ($this->faker->boolean(25)) {
         $order->setNotes($this->faker->sentence);
     }
     $this->applyCheckoutStateTransition($order, OrderCheckoutTransitions::TRANSITION_COMPLETE);
 }