Beispiel #1
0
 /**
  * Constructor
  *
  * @param array $data Entity properties (OPTIONAL)
  *
  * @return void
  */
 public function __construct(array $data = array())
 {
     $this->capostParcels = new \Doctrine\Common\Collections\ArrayCollection();
     parent::__construct($data);
 }
Beispiel #2
0
 /**
  * Constructor
  *
  * @param array $data Entity properties OPTIONAL
  *
  * @return void
  */
 public function __construct(array $data = array())
 {
     $this->usedCoupons = new \Doctrine\Common\Collections\ArrayCollection();
     parent::__construct($data);
 }