src/Variation/Model/VariableTrait.php
public function setVariabilityOptions(Collection $variabilityOptions)
    {
        foreach ($variabilityOptions as $variabilityOption) {
            $this->addVariabilityOption($variabilityOption);
        }

        return $this;
    }
public function setVariabilityOptions(Collection $variabilityOptions)
    {
        foreach ($variabilityOptions as $variabilityOption) {
            $this->addVariabilityOption($variabilityOption);
        }

        return $this;
    }
public function setVariabilityOptions ( Collection $ variabilityOptions ) { foreach ( $ variabilityOptions as $ variabilityOption ) { $ this -> addVariabilityOption ( $ variabilityOption ) ; } return $ this ; }
Sets all variability options

@param Collection $variabilityOptions

@return $this
Sets all variability options