src/Variation/Model/VariableTrait.php
public function removeVariabilityOption(OptionInterface $variabilityOption)
    {
        if ($this->hasVariabilityOption($variabilityOption)) {
            $this->variabilityOptions->removeElement($variabilityOption);
        }

        return $this;
    }
public function removeVariabilityOption(OptionInterface $variabilityOption)
    {
        if ($this->hasVariabilityOption($variabilityOption)) {
            $this->variabilityOptions->removeElement($variabilityOption);
        }

        return $this;
    }
public function removeVariabilityOption ( OptionInterface $ variabilityOption ) { if ( $ this -> hasVariabilityOption ( $ variabilityOption ) ) { $ this -> variabilityOptions -> removeElement ( $ variabilityOption ) ; } return $ this ; }
Removes a given variability option

@param OptionInterface $variabilityOption

@return $this
Removes a given variability option