public function variantStart(Variant $variant) { $this->paramSetIndex = $variant->getParameterSet()->getIndex(); }