private function addValue($value, $erase = false)
    {
        if ($erase) {
            $this->values = [];
        }

        if (! in_array($value, $this->values)) {
            $this->values[] = $value;
        }

        return $this;
    }