check if the basket contains $product.
public hasProduct ( Sonata\Component\Product\ProductInterface $product ) : boolean | ||
$product | Sonata\Component\Product\ProductInterface | |
return | boolean |
public hasProduct ( Sonata\Component\Product\ProductInterface $product ) : boolean | ||
$product | Sonata\Component\Product\ProductInterface | |
return | boolean |