Example #1
0
 /**
  * Constructor
  *
  * @param array $data Entity properties OPTIONAL
  *
  * @return void
  */
 public function __construct(array $data = array())
 {
     $this->optionGroups = new \Doctrine\Common\Collections\ArrayCollection();
     parent::__construct($data);
 }
Example #2
0
 /**
  * Constructor
  *
  * @param array $data Entity properties OPTIONAL
  *
  * @return void
  */
 public function __construct(array $data = array())
 {
     $this->featuredProducts = new \Doctrine\Common\Collections\ArrayCollection();
     parent::__construct($data);
 }
Example #3
0
 /**
  * Constructor
  *
  * @param array $data Entity properties OPTIONAL
  */
 public function __construct(array $data = array())
 {
     $this->variants = new \Doctrine\Common\Collections\ArrayCollection();
     $this->variantsAttributes = new \Doctrine\Common\Collections\ArrayCollection();
     parent::__construct($data);
 }
Example #4
0
 /**
  * Constructor
  *
  * @param array $data Entity properties OPTIONAL
  *
  * @return void
  */
 public function __construct(array $data = array())
 {
     $this->upsellingProducts = new \Doctrine\Common\Collections\ArrayCollection();
     $this->upsellingParentProducts = new \Doctrine\Common\Collections\ArrayCollection();
     parent::__construct($data);
 }