예제 #1
0
 /**
  * @param OrderItemInterface $orderItem
  */
 public function __construct(OrderItemInterface $orderItem)
 {
     parent::__construct($orderItem);
     $this->createdAt = new \DateTime();
 }
예제 #2
0
 public function __construct()
 {
     parent::__construct();
     $this->createdAt = new \DateTime();
 }