Sonata\ProductBundle\Entity\ProductSetManager::save PHP Method

save() public method

Creates an empty ProductSet instance.
public save ( Sonata\Component\Product\ProductInterface $productSet, boolean $andFlush = true )
$productSet Sonata\Component\Product\ProductInterface
$andFlush boolean
    public function save($productSet, $andFlush = true)
    {
        throw new \RuntimeException('A ProductSetManager cannot save a product');
    }
ProductSetManager