Example #1
0
 /**
  * {@inheritdoc}
  */
 public function addProductCollection(ProductCollectionInterface $productCollection)
 {
     $productCollection->setProduct($this);
     $this->productCollections->add($productCollection);
 }