/** * {@inheritdoc} */ public function removeValue(OptionValueInterface $value) { $this->assertMultipleAllowed(); if ($this->hasValue($value)) { $this->optionValues->removeElement($value); } return $this; }
/** * {@inheritdoc} */ public function hasValue(OptionValueInterface $value) { return $this->values->contains($value); }
/** * {@inheritdoc} */ public function hasOption(OptionValueInterface $option) { return $this->options->contains($option); }