orderId() 공개 메소드

public orderId ( ) : string
리턴 string
예제 #1
0
 /**
  * @param PrepareOrder $command
  * @throws InvalidTransitionException
  */
 public function handle(PrepareOrder $command)
 {
     $order = $this->orders->getById(new OrderId($command->orderId()));
     $order->prepare();
 }