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