/** * Constructor * * @param array $data Entity properties OPTIONAL * * @return void */ public function __construct(array $data = array()) { $this->categoryProducts = new \Doctrine\Common\Collections\ArrayCollection(); $this->children = new \Doctrine\Common\Collections\ArrayCollection(); parent::__construct($data); }
/** * Constructor * * @param array $data Entity properties OPTIONAL */ public function __construct(array $data = array()) { $this->categoryProducts = new \Doctrine\Common\Collections\ArrayCollection(); $this->images = new \Doctrine\Common\Collections\ArrayCollection(); $this->order_items = new \Doctrine\Common\Collections\ArrayCollection(); $this->memberships = new \Doctrine\Common\Collections\ArrayCollection(); $this->attributeValueC = new \Doctrine\Common\Collections\ArrayCollection(); $this->attributeValueS = new \Doctrine\Common\Collections\ArrayCollection(); $this->attributeValueT = new \Doctrine\Common\Collections\ArrayCollection(); $this->attributes = new \Doctrine\Common\Collections\ArrayCollection(); $this->quickData = new \Doctrine\Common\Collections\ArrayCollection(); parent::__construct($data); }
/** * Constructor * * @param array $data Entity properties OPTIONAL * * @return void */ public function __construct(array $data = array()) { $this->categoryProducts = new \Doctrine\Common\Collections\ArrayCollection(); $this->images = new \Doctrine\Common\Collections\ArrayCollection(); $this->order_items = new \Doctrine\Common\Collections\ArrayCollection(); $this->classes = new \Doctrine\Common\Collections\ArrayCollection(); parent::__construct($data); }