示例#1
0
 /**
  * @param Order $order
  * @param array $details
  */
 public function __construct($order, $details)
 {
     $this->order = $order;
     $this->user = $order->getUser();
     $this->advertisement = $order->getAdvertisement();
     $this->details = $details;
     $this->hash = $order->getHash();
 }