/**
  * {@inheritdoc}
  */
 public function hasProduct(ProductInterface $product)
 {
     return $this->products->contains($product);
 }
Esempio n. 2
0
 /**
  * {@inheritdoc}
  */
 public function hasAssociatedProduct(ProductInterface $product)
 {
     return $this->associatedProducts->contains($product);
 }