public removeVariation ( Sonata\Component\Product\ProductInterface $variation ) | ||
$variation | Sonata\Component\Product\ProductInterface |
public function removeVariation(ProductInterface $variation)
{
if ($this->variations->contains($variation)) {
$this->variations->removeElement($variation);
}
}