public function getValue()
{
return deep_clone($this->value);
}
public function add(UniqueValue $value) { $valueId = $value->getId(); if (false === array_key_exists($valueId, $this->pool)) { $this->pool[$valueId] = []; } $this->pool[$valueId][] = $value->getValue(); }