コード例 #1
0
 public function handle(Command $command)
 {
     $reservation = Reservation::take($command->reservationId, $command->restaurantId, $command->customerId, $command->numPeople, $command->dateTime);
     $this->repository->save($reservation);
 }