/** * Constructor. */ public function __construct() { parent::__construct(); $this->taxons = new ArrayCollection(); $this->channels = new ArrayCollection(); $this->variantSelectionMethod = self::VARIANT_SELECTION_CHOICE; }
/** * Constructor. */ public function __construct() { parent::__construct(); $this->setMasterVariant(new ProductVariant()); $this->taxons = new ArrayCollection(); $this->variantSelectionMethod = self::VARIANT_SELECTION_CHOICE; }