예제 #1
0
파일: Product.php 프로젝트: sidibea/Sylius
 /**
  * Constructor.
  */
 public function __construct()
 {
     parent::__construct();
     $this->taxons = new ArrayCollection();
     $this->channels = new ArrayCollection();
     $this->variantSelectionMethod = self::VARIANT_SELECTION_CHOICE;
 }
예제 #2
0
파일: Product.php 프로젝트: bcremer/Sylius
 /**
  * Constructor.
  */
 public function __construct()
 {
     parent::__construct();
     $this->setMasterVariant(new ProductVariant());
     $this->taxons = new ArrayCollection();
     $this->variantSelectionMethod = self::VARIANT_SELECTION_CHOICE;
 }