/** * 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); }
/** * 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); }
/** * 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); }
/** * 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); }