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

        return $this;
    }
public function addVariabilityOption(OptionInterface $variabilityOption)
    {
        if (!$this->hasVariabilityOption($variabilityOption)) {
            $this->variabilityOptions->add($variabilityOption);
        }

        return $this;
    }
public function addVariabilityOption ( OptionInterface $ variabilityOption ) { if ( ! $ this -> hasVariabilityOption ( $ variabilityOption ) ) { $ this -> variabilityOptions -> add ( $ variabilityOption ) ; } return $ this ; }
Adds a given variability option

@param OptionInterface $variabilityOption

@return $this
Adds a given variability option